/[MITgcm]/manual/Makefile
ViewVC logotype

Contents of /manual/Makefile

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


Revision 1.15 - (show 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 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:
6 @echo "Targets"
7 @echo " make all - everything in order"
8 @echo " make tex - tex and bibliograohy"
9 @echo " make ps - postscript form of manual"
10 @echo " make pdf - pdf form of manual"
11 @echo " make l2h - latex2html of manual"
12 @echo " make html - hypertext form of manual with substitutions"
13
14 all:
15 make tex
16 make ps
17 make pdf
18 make ps.gz
19 make html
20
21 tex:
22 TEXINPUTS=.:::texinputs latex manual
23 bibtex manual
24 TEXINPUTS=.:::texinputs latex manual
25 TEXINPUTS=.:::texinputs latex manual | tee warnings
26
27 ps: manual.ps
28
29 ps.gz: manual.ps
30 gzip -9 -c manual.ps > manual.ps.gz
31
32 pdf: manual.pdf
33
34 manual.ps: manual.dvi
35 dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi
36
37 manual.pdf: manual.ps
38 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
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 html:
66 make l2h
67 make subfigs
68
69 l2h:
70 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

  ViewVC Help
Powered by ViewVC 1.1.22