/[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.15 by gcmpack, Wed Apr 24 20:48:16 2002 UTC revision 1.16 by adcroft, Fri Sep 20 19:35:20 2002 UTC
# Line 1  Line 1 
1    L2H = -image_type gif -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  L2H = -image_type png -split 5 -show_section_numbers -link 2 \  L2H = -image_type png -split 5 -show_section_numbers -link 2 \
6        -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" \        -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" \
7        -local_icons -noantialias -notransparent -white        -local_icons -noantialias -notransparent -white
# Line 18  all: Line 22  all:
22          make ps.gz          make ps.gz
23          make html          make html
24    
25  tex:  tex: manual.dvi
         TEXINPUTS=.:::texinputs latex manual  
         bibtex manual  
         TEXINPUTS=.:::texinputs latex manual  
         TEXINPUTS=.:::texinputs latex manual | tee warnings  
26    
27  ps: manual.ps  ps: manual.ps
28    
# Line 31  ps.gz: manual.ps Line 31  ps.gz: manual.ps
31    
32  pdf: manual.pdf  pdf: manual.pdf
33    
34    html:
35            make l2h
36            make subfigs
37    
38    l2h: l2h.tgz
39    
40    subfigs: manual.tgz
41    
42    manual.dvi: *.tex */*.tex */*/*/*.tex */*.ps */*.eps */*/*/*.eps
43            TEXINPUTS=.:::texinputs latex manual
44            bibtex manual
45            TEXINPUTS=.:::texinputs latex manual
46            TEXINPUTS=.:::texinputs latex manual | tee warnings
47    
48  manual.ps: manual.dvi  manual.ps: manual.dvi
49          dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi          dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi
50    
# Line 38  manual.pdf: manual.ps Line 52  manual.pdf: manual.ps
52          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
53    
54  clean:  clean:
55          rm -f manual.{aux,bbl,blg,dvi,log,out,toc}          rm -f manual.{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log
56  Clean:  Clean:
57          make clean          make clean
58          rm -f manual.{ps,pdf}          rm -f manual.{ps,pdf,ps.gz}
59          rm -rf manual          rm -rf manual
60          rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz}          rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz}
61    
# Line 62  Clean: Line 76  Clean:
76  #           /usr/bin/ppmquant.orig 256  #           /usr/bin/ppmquant.orig 256
77  #           !  #           !
78    
79  html:  debugl2h:
80          make l2h          /usr/bin/latex2html -debug -nodiscard -ldump $(L2H) manual
         make subfigs  
81    
82  l2h:  l2h.tgz: manual.dvi
83          latex2html $(L2H) manual          /usr/bin/latex2html $(L2H) manual | tee l2h.log
84          tar -czf l2h.tgz manual          tar -czf l2h.tgz manual
85    
86  debugl2h:  manual.tgz: l2h.tgz
         latex2html -debug -nodiscard -ldump $(L2H) manual  
   
 subfigs:  
87          cd manual; ../tools/make_mail_subjects.sh          cd manual; ../tools/make_mail_subjects.sh
88          cd manual; ../tools/figsub.sh          cd manual; ../tools/figsub.sh
89          cd manual; ../tools/fix_docref_target.sh          cd manual; ../tools/fix_docref_target.sh

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.22