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 ps.gz |
19 |
|
make html |
20 |
|
|
21 |
tex: |
tex: |
22 |
latex manual |
TEXINPUTS=.:::texinputs latex manual |
23 |
bibtex manual |
bibtex manual |
24 |
latex manual |
TEXINPUTS=.:::texinputs latex manual |
25 |
latex manual | tee warnings |
TEXINPUTS=.:::texinputs latex manual | tee warnings |
26 |
|
|
27 |
ps: manual.ps |
ps: manual.ps |
28 |
|
|
29 |
|
ps.gz: manual.ps |
30 |
|
gzip -9 -c manual.ps > manual.ps.gz |
31 |
|
|
32 |
pdf: manual.pdf |
pdf: manual.pdf |
33 |
|
|
34 |
manual.ps: manual.dvi |
manual.ps: manual.dvi |
37 |
manual.pdf: manual.ps |
manual.pdf: manual.ps |
38 |
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 |
39 |
|
|
40 |
|
clean: |
41 |
|
rm -f manual.{aux,bbl,blg,dvi,log,out,toc} |
42 |
|
Clean: |
43 |
|
make clean |
44 |
|
rm -f manual.{ps,pdf} |
45 |
|
rm -rf manual |
46 |
|
rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz} |
47 |
|
|
48 |
# Note - the noantialias option here does not affect the gif images |
# Note - the noantialias option here does not affect the gif images |
49 |
# that are generated. However, it does make ppmquant to run in |
# that are generated. However, it does make ppmquant to run in |
50 |
# a way that leaves out the -floyd option. This option |
# a way that leaves out the -floyd option. This option |
62 |
# /usr/bin/ppmquant.orig 256 |
# /usr/bin/ppmquant.orig 256 |
63 |
# ! |
# ! |
64 |
|
|
|
|
|
65 |
html: |
html: |
66 |
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 |
67 |
|
make subfigs |
68 |
|
|
69 |
html2: |
l2h: |
70 |
latex2html -image_type gif -split 5 -show_section_numbers -link 2 -address "<a href=mailto:support@mitgc,.org>support@mitgcm.org</a>" -local_icons -white -debug m2 |
latex2html $(L2H) manual |
71 |
|
tar -czf l2h.tgz manual |
72 |
|
|
73 |
|
debugl2h: |
74 |
|
latex2html -debug -nodiscard -ldump $(L2H) manual |
75 |
|
|
76 |
|
subfigs: |
77 |
|
cd manual; ../tools/make_mail_subjects.sh |
78 |
|
cd manual; ../tools/figsub.sh |
79 |
|
cd manual; ../tools/fix_docref_target.sh |
80 |
|
tar -czf manual.tgz manual |