| 1 |
|
L2H = -image_type png -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 |
default: |
default: |
| 6 |
@echo "Targets" |
@echo "Targets" |
| 7 |
@echo " make all - just the tex " |
@echo " make all - everything in order" |
| 8 |
@echo " make tex - tex and bibliograohy" |
@echo " make tex - tex and bibliograohy" |
| 9 |
@echo " make ps - postscript form of manual" |
@echo " make ps - postscript form of manual" |
| 10 |
@echo " make pdf - pdf form of manual" |
@echo " make pdf - pdf form of manual" |
| 11 |
@echo " make html - hypertext form of manual" |
@echo " make l2h - latex2html of manual" |
| 12 |
|
@echo " make html - hypertext form of manual with substitutions" |
| 13 |
|
|
| 14 |
all: |
all: |
| 15 |
make tex |
make tex |
| 16 |
|
make ps |
| 17 |
|
make pdf |
| 18 |
|
make html |
| 19 |
|
|
| 20 |
tex: |
tex: |
| 21 |
TEXINPUTS=.:::texinputs latex manual |
TEXINPUTS=.:::texinputs latex manual |
| 22 |
bibtex manual |
bibtex manual |
| 23 |
TEXINPUTS=.:::texinputs latex manual |
TEXINPUTS=.:::texinputs latex manual |
| 24 |
TEXINPUTS=.:::texinputs latex manual | tee warnings |
TEXINPUTS=.:::texinputs latex manual | tee warnings |
| 25 |
# TEXINPUTS=.:::texinputs latex manual |
|
| 26 |
ps: manual.ps |
ps: manual.ps |
| 27 |
|
|
| 28 |
pdf: manual.pdf |
pdf: manual.pdf |
| 29 |
|
|
| 30 |
manual.ps: manual.dvi |
manual.ps: manual.dvi |
| 33 |
manual.pdf: manual.ps |
manual.pdf: manual.ps |
| 34 |
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 |
| 35 |
|
|
| 36 |
|
clean: |
| 37 |
|
rm -f manual.{aux,bbl,blg,dvi,log,out,toc} |
| 38 |
|
Clean: |
| 39 |
|
make clean |
| 40 |
|
rm -f manual.{ps,pdf} |
| 41 |
|
rm -rf manual |
| 42 |
|
rm -f manual.{tz,tgz} mbkup.{tz,tgz} |
| 43 |
|
|
| 44 |
# Note - the noantialias option here does not affect the gif images |
# Note - the noantialias option here does not affect the gif images |
| 45 |
# that are generated. However, it does make ppmquant to run in |
# that are generated. However, it does make ppmquant to run in |
| 46 |
# a way that leaves out the -floyd option. This option |
# a way that leaves out the -floyd option. This option |
| 58 |
# /usr/bin/ppmquant.orig 256 |
# /usr/bin/ppmquant.orig 256 |
| 59 |
# ! |
# ! |
| 60 |
|
|
|
|
|
| 61 |
html: |
html: |
| 62 |
latex2html -image_type gif -split 5 -show_section_numbers -link 2 -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" -local_icons -noantialias -white manual |
make l2h |
| 63 |
cd manual; tar -czf ../mbkup.tz . |
make subfigs |
|
cd manual; ../tools/make_mail_subjects.sh |
|
|
cd manual; ../tools/figsub.sh |
|
|
cd manual; ../tools/fix_docref_target.sh |
|
|
cd manual; tar -czf ../manual.tz . |
|
|
# cd /homes/cnh/SEALION_RELEASE/website/online_documents/manual; tar -xzf /homes/cnh/SEALION_RELEASE/manual/HEAD/manual.tz |
|
|
# tar -czf ol.tz on-line-figs |
|
| 64 |
|
|
| 65 |
html2: |
l2h: |
| 66 |
cd manual; tar -xzf ../mbkup.tz . |
latex2html $(L2H) manual |
| 67 |
|
|
| 68 |
|
debugl2h: |
| 69 |
|
latex2html -debug -nodiscard -ldump $(L2H) manual |
| 70 |
|
|
| 71 |
|
subfigs: |
| 72 |
|
tar -czf mbkup.tgz manual |
| 73 |
cd manual; ../tools/make_mail_subjects.sh |
cd manual; ../tools/make_mail_subjects.sh |
| 74 |
cd manual; ../tools/figsub.sh |
cd manual; ../tools/figsub.sh |
| 75 |
cd manual; ../tools/fix_docref_target.sh |
cd manual; ../tools/fix_docref_target.sh |
| 76 |
cd manual; tar -czf ../manual.tz . |
tar -czf manual.tgz manual |
|
cd /homes/cnh/SEALION_RELEASE/website/online_documents/manual; tar -xzf /homes/cnh/SEALION_RELEASE/manual/HEAD/manual.tz |
|
|
# tar -czf ol.tz on-line-figs |
|
|
|
|