--- manual/Makefile	2001/11/13 15:33:31	1.1
+++ manual/Makefile	2001/11/13 16:45:58	1.3
@@ -1,9 +1,19 @@
-all: 
+all:
 	make tex
 
 tex:
 	latex manual
+	bibtex manual
 	latex manual
+	latex manual
+ps: manual.ps
+pdf: manual.pdf
+
+manual.ps: manual.dvi
+	dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi
+
+manual.pdf: manual.ps
+	ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf
 
 html:
-	/usr/local/pkg/latex2html/bin/latex2html -image_type gif -split 5 -show_section_numbers -link 2 -address "support@mitgcm.org" manual
+	latex2html -image_type gif -split 5 -show_section_numbers -link 2 -address "support@mitgcm.org" manual