--- manual/Makefile 2003/07/23 17:54:35 1.18
+++ manual/Makefile 2010/08/28 22:57:11 1.30
@@ -1,9 +1,16 @@
+#
+# $Header: /home/ubuntu/mnt/e9_copy/manual/Makefile,v 1.30 2010/08/28 22:57:11 jmc Exp $
+# $Name: $
+#
+
+#
#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 "mitgcm-support@dev.mitgcm.org" \
+ -address "mitgcm-support@mitgcm.org" \
-local_icons -noantialias -notransparent -white
default:
@@ -31,19 +38,31 @@
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
+ cd manual; ../tools/genredir.sh
+ tar -czf manual.tgz manual
l2h: l2h.tgz
subfigs: manual.tgz
-manual.dvi: *.tex */*.tex */*/*/*.tex */*.ps */*.eps */*/*/*.eps
+manual.dvi: *.tex */*/*.tex */*/*.templ */*/*.ps */*/*.eps manual_references.bib
+ ( cd s_examples/held_suarez_cs/ && make )
TEXINPUTS=.:::texinputs latex manual
bibtex manual
TEXINPUTS=.:::texinputs latex manual
- TEXINPUTS=.:::texinputs latex manual | tee warnings
+ TEXINPUTS=.:::texinputs latex manual
+ tools/latex_warning.sh manual.log warnings
manual.ps: manual.dvi
dvips -Pcmz -Pamz -o manual.ps manual.dvi
@@ -53,8 +72,10 @@
clean:
rm -f manual.{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log
+
Clean:
make clean
+ ( cd s_examples/held_suarez_cs/ && make Clean )
rm -f manual.{ps,pdf,ps.gz}
rm -rf manual
rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz}