/[MITgcm]/manual/Makefile
ViewVC logotype

Annotation of /manual/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.17 - (hide annotations) (download)
Wed Nov 20 14:08:51 2002 UTC (21 years, 4 months ago) by adcroft
Branch: MAIN
Changes since 1.16: +1 -1 lines
Removed -Ppdf on dvips since it does bad things to fonts.

1 adcroft 1.16 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 adcroft 1.11 L2H = -image_type png -split 5 -show_section_numbers -link 2 \
6     -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" \
7     -local_icons -noantialias -notransparent -white
8    
9 cnh 1.5 default:
10     @echo "Targets"
11 adcroft 1.11 @echo " make all - everything in order"
12 cnh 1.5 @echo " make tex - tex and bibliograohy"
13     @echo " make ps - postscript form of manual"
14     @echo " make pdf - pdf form of manual"
15 adcroft 1.11 @echo " make l2h - latex2html of manual"
16     @echo " make html - hypertext form of manual with substitutions"
17    
18 adcroft 1.2 all:
19 cnh 1.1 make tex
20 adcroft 1.11 make ps
21     make pdf
22 gcmpack 1.15 make ps.gz
23 adcroft 1.11 make html
24 cnh 1.1
25 adcroft 1.16 tex: manual.dvi
26 adcroft 1.11
27 adcroft 1.2 ps: manual.ps
28 gcmpack 1.15
29     ps.gz: manual.ps
30     gzip -9 -c manual.ps > manual.ps.gz
31 adcroft 1.11
32 adcroft 1.2 pdf: manual.pdf
33    
34 adcroft 1.16 html:
35     make l2h
36     make subfigs
37    
38     l2h: l2h.tgz
39    
40     subfigs: manual.tgz
41    
42     manual.dvi: *.tex */*.tex */*/*/*.tex */*.ps */*.eps */*/*/*.eps
43     TEXINPUTS=.:::texinputs latex manual
44     bibtex manual
45     TEXINPUTS=.:::texinputs latex manual
46     TEXINPUTS=.:::texinputs latex manual | tee warnings
47    
48 adcroft 1.2 manual.ps: manual.dvi
49 adcroft 1.17 dvips -Pcmz -Pamz -o manual.ps manual.dvi
50 adcroft 1.2
51     manual.pdf: manual.ps
52     ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf
53 cnh 1.1
54 adcroft 1.11 clean:
55 adcroft 1.16 rm -f manual.{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log
56 adcroft 1.11 Clean:
57     make clean
58 adcroft 1.16 rm -f manual.{ps,pdf,ps.gz}
59 adcroft 1.11 rm -rf manual
60 gcmpack 1.14 rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz}
61 adcroft 1.11
62 cnh 1.6 # Note - the noantialias option here does not affect the gif images
63     # that are generated. However, it does make ppmquant to run in
64     # a way that leaves out the -floyd option. This option
65     # causes problems with some figures. If you really want
66     # to use -antialias then you need to turn off the -floyd option.
67     # To do this either
68     # 1. edit the pstoimg script that comes with latex2html
69     # 2. rename /usr/bin/ppmquant to /usr/bin/ppmquant.orig and
70     # create a shell script that calls /usr/bin/ppmquant.orig
71     # with just the option -256.
72     # e.g.
73     # mv /usr/bin/ppmquant /usr/bin/ppmquant.orig
74     # cat > /usr/bin/ppmquant <<!
75     # #!/bin/csh -f
76     # /usr/bin/ppmquant.orig 256
77     # !
78    
79 adcroft 1.16 debugl2h:
80     /usr/bin/latex2html -debug -nodiscard -ldump $(L2H) manual
81 adcroft 1.12
82 adcroft 1.16 l2h.tgz: manual.dvi
83     /usr/bin/latex2html $(L2H) manual | tee l2h.log
84 gcmpack 1.14 tar -czf l2h.tgz manual
85 adcroft 1.11
86 adcroft 1.16 manual.tgz: l2h.tgz
87 cnh 1.9 cd manual; ../tools/make_mail_subjects.sh
88     cd manual; ../tools/figsub.sh
89     cd manual; ../tools/fix_docref_target.sh
90 adcroft 1.13 tar -czf manual.tgz manual

  ViewVC Help
Powered by ViewVC 1.1.22