/[MITgcm]/manual/Makefile
ViewVC logotype

Annotation of /manual/Makefile

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


Revision 1.25 - (hide annotations) (download)
Wed Mar 31 19:44:10 2004 UTC (20 years ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57l_post
Changes since 1.24: +0 -45 lines
 o create "PRIVATE" sections within the manual
   - see manual.tex for the two lines to edit to switch between
       the private and non-private versions
   - example of private section is FIZHI in part6/part6.tex
 o remove the protex stuff -- its now in MITgcm/doc/api_reference

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

  ViewVC Help
Powered by ViewVC 1.1.22