| 1 |
|
#L2H = -image_type gif -split 5 -show_section_numbers -link 2 \ |
| 2 |
|
# -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" \ |
| 3 |
|
# -local_icons -noantialias -notransparent -white |
| 4 |
|
|
| 5 |
|
|
| 6 |
L2H = -image_type png -split 5 -show_section_numbers -link 2 \ |
L2H = -image_type png -split 5 -show_section_numbers -link 2 \ |
| 7 |
-address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" \ |
-address "<a href=mailto:support@mitgcm.org>mitgcm-support@dev.mitgcm.org</a>" \ |
| 8 |
-local_icons -noantialias -notransparent -white |
-local_icons -noantialias -notransparent -white |
| 9 |
|
|
| 10 |
default: |
default: |
| 20 |
make tex |
make tex |
| 21 |
make ps |
make ps |
| 22 |
make pdf |
make pdf |
| 23 |
|
make ps.gz |
| 24 |
make html |
make html |
| 25 |
|
|
| 26 |
tex: |
tex: manual.dvi |
|
TEXINPUTS=.:::texinputs latex manual |
|
|
bibtex manual |
|
|
TEXINPUTS=.:::texinputs latex manual |
|
|
TEXINPUTS=.:::texinputs latex manual | tee warnings |
|
| 27 |
|
|
| 28 |
ps: manual.ps |
ps: manual.ps |
| 29 |
|
|
| 30 |
|
ps.gz: manual.ps |
| 31 |
|
gzip -9 -c manual.ps > manual.ps.gz |
| 32 |
|
|
| 33 |
pdf: manual.pdf |
pdf: manual.pdf |
| 34 |
|
|
| 35 |
|
#eh3 WARNING: due to the make dependencies, using the following rule will |
| 36 |
|
#eh3 *always* result in running the "manual.dvi" and "l2h.tgz" rules |
| 37 |
|
#eh3 *TWICE* due to the "*/*.ps" entry in the dependency list! |
| 38 |
|
#eh3 html: |
| 39 |
|
#eh3 make l2h |
| 40 |
|
#eh3 make subfigs |
| 41 |
|
html: |
| 42 |
|
make l2h |
| 43 |
|
cd manual; ../tools/make_mail_subjects.sh |
| 44 |
|
cd manual; ../tools/figsub.sh |
| 45 |
|
cd manual; ../tools/fix_docref_target.sh |
| 46 |
|
cd manual; ../tools/genredir.sh |
| 47 |
|
tar -czf manual.tgz manual |
| 48 |
|
|
| 49 |
|
l2h: l2h.tgz |
| 50 |
|
|
| 51 |
|
subfigs: manual.tgz |
| 52 |
|
|
| 53 |
|
manual.dvi: *.tex */*.tex */*/*/*.tex */*.ps */*.eps */*/*/*.eps manual_references.bib */*/*/*.templ |
| 54 |
|
( cd part3/case_studies/held_suarez_cs/ && make ) |
| 55 |
|
TEXINPUTS=.:::texinputs latex manual |
| 56 |
|
bibtex manual |
| 57 |
|
TEXINPUTS=.:::texinputs latex manual |
| 58 |
|
TEXINPUTS=.:::texinputs latex manual | tee warnings |
| 59 |
|
|
| 60 |
manual.ps: manual.dvi |
manual.ps: manual.dvi |
| 61 |
dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi |
dvips -Pcmz -Pamz -o manual.ps manual.dvi |
| 62 |
|
|
| 63 |
manual.pdf: manual.ps |
manual.pdf: manual.ps |
| 64 |
ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf |
ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf |
| 65 |
|
|
| 66 |
clean: |
clean: |
| 67 |
rm -f manual.{aux,bbl,blg,dvi,log,out,toc} |
( cd part3/case_studies/held_suarez_cs/ && make clean ) |
| 68 |
|
rm -f manual.{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log |
| 69 |
Clean: |
Clean: |
| 70 |
make clean |
make clean |
| 71 |
rm -f manual.{ps,pdf} |
rm -f manual.{ps,pdf,ps.gz} |
| 72 |
rm -rf manual |
rm -rf manual |
| 73 |
rm -f manual.tz mbkup.tz |
rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz} |
| 74 |
|
|
| 75 |
# Note - the noantialias option here does not affect the gif images |
# Note - the noantialias option here does not affect the gif images |
| 76 |
# that are generated. However, it does make ppmquant to run in |
# that are generated. However, it does make ppmquant to run in |
| 89 |
# /usr/bin/ppmquant.orig 256 |
# /usr/bin/ppmquant.orig 256 |
| 90 |
# ! |
# ! |
| 91 |
|
|
|
l2h: |
|
|
latex2html $(L2H) manual |
|
|
|
|
| 92 |
debugl2h: |
debugl2h: |
| 93 |
latex2html -debug -nodiscard -ldump $(L2H) manual |
/usr/bin/latex2html -debug -nodiscard -ldump $(L2H) manual |
| 94 |
|
|
| 95 |
html: |
l2h.tgz: manual.dvi |
| 96 |
make l2h |
/usr/bin/latex2html $(L2H) manual | tee l2h.log |
| 97 |
cd manual; tar -czf ../mbkup.tz . |
tar -czf l2h.tgz manual |
| 98 |
|
|
| 99 |
|
manual.tgz: l2h.tgz |
| 100 |
cd manual; ../tools/make_mail_subjects.sh |
cd manual; ../tools/make_mail_subjects.sh |
| 101 |
cd manual; ../tools/figsub.sh |
cd manual; ../tools/figsub.sh |
| 102 |
cd manual; ../tools/fix_docref_target.sh |
cd manual; ../tools/fix_docref_target.sh |
| 103 |
cd manual; tar -czf ../manual.tz . |
tar -czf manual.tgz manual |