/[MITgcm]/manual/Makefile
ViewVC logotype

Diff of /manual/Makefile

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

revision 1.3 by adcroft, Tue Nov 13 16:45:58 2001 UTC revision 1.13 by adcroft, Wed Apr 24 17:43:43 2002 UTC
# Line 1  Line 1 
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:  all:
15          make tex          make tex
16            make ps
17            make pdf
18            make html
19    
20  tex:  tex:
21          latex manual          TEXINPUTS=.:::texinputs latex manual
22          bibtex manual          bibtex manual
23          latex manual          TEXINPUTS=.:::texinputs latex manual
24          latex manual          TEXINPUTS=.:::texinputs latex manual | tee warnings
25    
26  ps: manual.ps  ps: manual.ps
27    
28  pdf: manual.pdf  pdf: manual.pdf
29    
30  manual.ps: manual.dvi  manual.ps: manual.dvi
# Line 15  manual.ps: manual.dvi Line 33  manual.ps: manual.dvi
33  manual.pdf: manual.ps  manual.pdf: manual.ps
34          ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf          ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf
35    
36    clean:
37            rm -f manual.{aux,bbl,blg,dvi,log,out,toc}
38    Clean:
39            make clean
40            rm -f manual.{ps,pdf}
41            rm -rf manual
42            rm -f manual.{tz,tgz} mbkup.{tz,tgz}
43    
44    # Note - the noantialias option here does not affect the gif images
45    #        that are generated. However, it does make ppmquant to run in
46    #        a way that leaves out the -floyd option. This option
47    #        causes problems with some figures. If you really want
48    #        to use -antialias then you need to turn off the -floyd option.
49    #        To do this either
50    #        1. edit the pstoimg script that comes with latex2html
51    #        2. rename /usr/bin/ppmquant to /usr/bin/ppmquant.orig and
52    #           create a shell script that calls /usr/bin/ppmquant.orig
53    #           with just the option -256.
54    #           e.g.
55    #           mv /usr/bin/ppmquant /usr/bin/ppmquant.orig
56    #           cat > /usr/bin/ppmquant <<!
57    #           #!/bin/csh -f
58    #           /usr/bin/ppmquant.orig 256
59    #           !
60    
61  html:  html:
62          latex2html -image_type gif -split 5 -show_section_numbers -link 2 -address "<a href=mailto:support@mitgc,.org>support@mitgcm.org</a>" manual          make l2h
63            make subfigs
64    
65    l2h:
66            latex2html $(L2H) manual
67    
68    debugl2h:
69            latex2html -debug -nodiscard -ldump $(L2H) manual
70    
71    subfigs:
72            tar -czf mbkup.tgz manual
73            cd manual; ../tools/make_mail_subjects.sh
74            cd manual; ../tools/figsub.sh
75            cd manual; ../tools/fix_docref_target.sh
76            tar -czf manual.tgz manual

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.22