/[MITgcm]/manual/Makefile
ViewVC logotype

Annotation of /manual/Makefile

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


Revision 1.10 - (hide annotations) (download)
Thu Feb 28 19:33:58 2002 UTC (22 years, 1 month ago) by cnh
Branch: MAIN
Changes since 1.9: +1 -1 lines
Removed custom line for my laptop

1 cnh 1.5 default:
2     @echo "Targets"
3     @echo " make all - just the tex "
4     @echo " make tex - tex and bibliograohy"
5     @echo " make ps - postscript form of manual"
6     @echo " make pdf - pdf form of manual"
7     @echo " make html - hypertext form of manual"
8 adcroft 1.2 all:
9 cnh 1.1 make tex
10    
11     tex:
12 cnh 1.8 TEXINPUTS=.:::texinputs latex manual
13 adcroft 1.2 bibtex manual
14 cnh 1.8 TEXINPUTS=.:::texinputs latex manual
15     TEXINPUTS=.:::texinputs latex manual | tee warnings
16     # TEXINPUTS=.:::texinputs latex manual
17 adcroft 1.2 ps: manual.ps
18     pdf: manual.pdf
19    
20     manual.ps: manual.dvi
21 adcroft 1.3 dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi
22 adcroft 1.2
23     manual.pdf: manual.ps
24     ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf
25 cnh 1.1
26 cnh 1.6 # Note - the noantialias option here does not affect the gif images
27     # that are generated. However, it does make ppmquant to run in
28     # a way that leaves out the -floyd option. This option
29     # causes problems with some figures. If you really want
30     # to use -antialias then you need to turn off the -floyd option.
31     # To do this either
32     # 1. edit the pstoimg script that comes with latex2html
33     # 2. rename /usr/bin/ppmquant to /usr/bin/ppmquant.orig and
34     # create a shell script that calls /usr/bin/ppmquant.orig
35     # with just the option -256.
36     # e.g.
37     # mv /usr/bin/ppmquant /usr/bin/ppmquant.orig
38     # cat > /usr/bin/ppmquant <<!
39     # #!/bin/csh -f
40     # /usr/bin/ppmquant.orig 256
41     # !
42    
43    
44 cnh 1.1 html:
45 cnh 1.6 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
46 cnh 1.9 cd manual; tar -czf ../mbkup.tz .
47     cd manual; ../tools/make_mail_subjects.sh
48     cd manual; ../tools/figsub.sh
49     cd manual; ../tools/fix_docref_target.sh
50     cd manual; tar -czf ../manual.tz .
51 cnh 1.10 # cd /homes/cnh/SEALION_RELEASE/website/online_documents/manual; tar -xzf /homes/cnh/SEALION_RELEASE/manual/HEAD/manual.tz
52 cnh 1.9 # tar -czf ol.tz on-line-figs
53 cnh 1.6
54     html2:
55 cnh 1.9 cd manual; tar -xzf ../mbkup.tz .
56     cd manual; ../tools/make_mail_subjects.sh
57     cd manual; ../tools/figsub.sh
58     cd manual; ../tools/fix_docref_target.sh
59     cd manual; tar -czf ../manual.tz .
60     cd /homes/cnh/SEALION_RELEASE/website/online_documents/manual; tar -xzf /homes/cnh/SEALION_RELEASE/manual/HEAD/manual.tz
61     # tar -czf ol.tz on-line-figs
62    

  ViewVC Help
Powered by ViewVC 1.1.22