/[MITgcm]/manual/Makefile
ViewVC logotype

Annotation of /manual/Makefile

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


Revision 1.15 - (hide annotations) (download)
Wed Apr 24 20:48:16 2002 UTC (21 years, 11 months ago) by gcmpack
Branch: MAIN
Changes since 1.14: +4 -0 lines
Added target for ps.gz

1 adcroft 1.11 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 cnh 1.5 default:
6     @echo "Targets"
7 adcroft 1.11 @echo " make all - everything in order"
8 cnh 1.5 @echo " make tex - tex and bibliograohy"
9     @echo " make ps - postscript form of manual"
10     @echo " make pdf - pdf form of manual"
11 adcroft 1.11 @echo " make l2h - latex2html of manual"
12     @echo " make html - hypertext form of manual with substitutions"
13    
14 adcroft 1.2 all:
15 cnh 1.1 make tex
16 adcroft 1.11 make ps
17     make pdf
18 gcmpack 1.15 make ps.gz
19 adcroft 1.11 make html
20 cnh 1.1
21     tex:
22 cnh 1.8 TEXINPUTS=.:::texinputs latex manual
23 adcroft 1.2 bibtex manual
24 cnh 1.8 TEXINPUTS=.:::texinputs latex manual
25     TEXINPUTS=.:::texinputs latex manual | tee warnings
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     manual.ps: manual.dvi
35 adcroft 1.3 dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi
36 adcroft 1.2
37     manual.pdf: manual.ps
38     ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf
39 cnh 1.1
40 adcroft 1.11 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 gcmpack 1.14 rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz}
47 adcroft 1.11
48 cnh 1.6 # Note - the noantialias option here does not affect the gif images
49     # that are generated. However, it does make ppmquant to run in
50     # a way that leaves out the -floyd option. This option
51     # causes problems with some figures. If you really want
52     # to use -antialias then you need to turn off the -floyd option.
53     # To do this either
54     # 1. edit the pstoimg script that comes with latex2html
55     # 2. rename /usr/bin/ppmquant to /usr/bin/ppmquant.orig and
56     # create a shell script that calls /usr/bin/ppmquant.orig
57     # with just the option -256.
58     # e.g.
59     # mv /usr/bin/ppmquant /usr/bin/ppmquant.orig
60     # cat > /usr/bin/ppmquant <<!
61     # #!/bin/csh -f
62     # /usr/bin/ppmquant.orig 256
63     # !
64    
65 adcroft 1.12 html:
66     make l2h
67     make subfigs
68    
69 adcroft 1.11 l2h:
70     latex2html $(L2H) manual
71 gcmpack 1.14 tar -czf l2h.tgz manual
72 adcroft 1.11
73     debugl2h:
74     latex2html -debug -nodiscard -ldump $(L2H) manual
75 cnh 1.6
76 adcroft 1.12 subfigs:
77 cnh 1.9 cd manual; ../tools/make_mail_subjects.sh
78     cd manual; ../tools/figsub.sh
79     cd manual; ../tools/fix_docref_target.sh
80 adcroft 1.13 tar -czf manual.tgz manual

  ViewVC Help
Powered by ViewVC 1.1.22