--- manual/Makefile	2002/09/20 19:35:20	1.16
+++ manual/Makefile	2003/08/07 18:27:51	1.19
@@ -1,9 +1,9 @@
-L2H = -image_type gif -split 5 -show_section_numbers -link 2 \
-      -address "support@mitgcm.org" \
-      -local_icons -noantialias -notransparent -white
+#L2H = -image_type gif -split 5 -show_section_numbers -link 2 \
+#      -address "support@mitgcm.org" \
+#      -local_icons -noantialias -notransparent -white
 
 L2H = -image_type png -split 5 -show_section_numbers -link 2 \
-      -address "support@mitgcm.org" \
+      -address "mitgcm-support@dev.mitgcm.org" \
       -local_icons -noantialias -notransparent -white
 
 default:
@@ -31,9 +31,18 @@
 
 pdf: manual.pdf
 
+#eh3 WARNING: due to the make dependencies, using the following rule will 
+#eh3   *always* result in running the "manual.dvi" and "l2h.tgz" rules
+#eh3   *TWICE* due to the "*/*.ps" entry in the dependency list!
+#eh3 html:
+#eh3 	make l2h
+#eh3 	make subfigs
 html:
 	make l2h
-	make subfigs
+	cd manual; ../tools/make_mail_subjects.sh
+	cd manual; ../tools/figsub.sh
+	cd manual; ../tools/fix_docref_target.sh
+	tar -czf manual.tgz manual
 
 l2h: l2h.tgz
 
@@ -46,7 +55,7 @@
 	TEXINPUTS=.:::texinputs latex manual | tee warnings
 
 manual.ps: manual.dvi
-	dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi
+	dvips -Pcmz -Pamz -o manual.ps manual.dvi
 
 manual.pdf: manual.ps
 	ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf