/[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.2 by adcroft, Tue Nov 13 16:14:33 2001 UTC revision 1.6 by cnh, Thu Nov 15 17:11:52 2001 UTC
# Line 1  Line 1 
1    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  all:  all:
9          make tex          make tex
10    
# Line 5  tex: Line 12  tex:
12          latex manual          latex manual
13          bibtex manual          bibtex manual
14          latex manual          latex manual
15          latex manual          latex manual | tee warnings
16  ps: manual.ps  ps: manual.ps
17  pdf: manual.pdf  pdf: manual.pdf
18    
19  manual.ps: manual.dvi  manual.ps: manual.dvi
20          dvips -Ppdf -o manual.ps manual.dvi          dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi
21    
22  manual.pdf: manual.ps  manual.pdf: manual.ps
23          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
24    
25    # Note - the noantialias option here does not affect the gif images
26    #        that are generated. However, it does make ppmquant to run in
27    #        a way that leaves out the -floyd option. This option
28    #        causes problems with some figures. If you really want
29    #        to use -antialias then you need to turn off the -floyd option.
30    #        To do this either
31    #        1. edit the pstoimg script that comes with latex2html
32    #        2. rename /usr/bin/ppmquant to /usr/bin/ppmquant.orig and
33    #           create a shell script that calls /usr/bin/ppmquant.orig
34    #           with just the option -256.
35    #           e.g.
36    #           mv /usr/bin/ppmquant /usr/bin/ppmquant.orig
37    #           cat > /usr/bin/ppmquant <<!
38    #           #!/bin/csh -f
39    #           /usr/bin/ppmquant.orig 256
40    #           !
41    
42    
43  html:  html:
44          latex2html -image_type gif -split 5 -show_section_numbers -link 2 -address "<a href=mailto:support@mitgc,.org>support@mitgcm.org</a>" manual          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
45    
46    html2:
47            latex2html -image_type gif -split 5 -show_section_numbers -link 2 -address "<a href=mailto:support@mitgc,.org>support@mitgcm.org</a>" -local_icons -white -debug m2

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22