/[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.10 by cnh, Thu Feb 28 19:33:58 2002 UTC revision 1.11 by adcroft, Thu Apr 18 15:51:06 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:  default:
6          @echo "Targets"          @echo "Targets"
7          @echo " make all  - just the tex "          @echo " make all  - everything in order"
8          @echo " make tex  - tex and bibliograohy"          @echo " make tex  - tex and bibliograohy"
9          @echo " make ps   - postscript form of manual"          @echo " make ps   - postscript form of manual"
10          @echo " make pdf  - pdf form of manual"          @echo " make pdf  - pdf form of manual"
11          @echo " make html - hypertext form of manual"          @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          TEXINPUTS=.:::texinputs latex manual          TEXINPUTS=.:::texinputs latex manual
22          bibtex manual          bibtex manual
23          TEXINPUTS=.:::texinputs latex manual          TEXINPUTS=.:::texinputs latex manual
24          TEXINPUTS=.:::texinputs latex manual | tee warnings          TEXINPUTS=.:::texinputs latex manual | tee warnings
25  #       TEXINPUTS=.:::texinputs latex manual  
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 23  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 mbkup.tz
43    
44  # Note - the noantialias option here does not affect the gif images  # Note - the noantialias option here does not affect the gif images
45  #        that are generated. However, it does make ppmquant to run in  #        that are generated. However, it does make ppmquant to run in
46  #        a way that leaves out the -floyd option. This option  #        a way that leaves out the -floyd option. This option
# Line 40  manual.pdf: manual.ps Line 58  manual.pdf: manual.ps
58  #           /usr/bin/ppmquant.orig 256  #           /usr/bin/ppmquant.orig 256
59  #           !  #           !
60    
61    l2h:
62            latex2html $(L2H) manual
63    
64    debugl2h:
65            latex2html -debug -nodiscard -ldump $(L2H) manual
66    
67  html:  html:
68          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          make l2h
69          cd manual; tar -czf ../mbkup.tz .          cd manual; tar -czf ../mbkup.tz .
70          cd manual; ../tools/make_mail_subjects.sh          cd manual; ../tools/make_mail_subjects.sh
71          cd manual; ../tools/figsub.sh          cd manual; ../tools/figsub.sh
72          cd manual; ../tools/fix_docref_target.sh          cd manual; ../tools/fix_docref_target.sh
73          cd manual; tar -czf ../manual.tz .          cd manual; tar -czf ../manual.tz .
 #       cd /homes/cnh/SEALION_RELEASE/website/online_documents/manual; tar -xzf /homes/cnh/SEALION_RELEASE/manual/HEAD/manual.tz  
 #       tar -czf ol.tz on-line-figs  
   
 html2:  
         cd manual; tar -xzf ../mbkup.tz .  
         cd manual; ../tools/make_mail_subjects.sh  
         cd manual; ../tools/figsub.sh  
         cd manual; ../tools/fix_docref_target.sh  
         cd manual; tar -czf ../manual.tz .  
         cd /homes/cnh/SEALION_RELEASE/website/online_documents/manual; tar -xzf /homes/cnh/SEALION_RELEASE/manual/HEAD/manual.tz  
 #       tar -czf ol.tz on-line-figs  
   

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22