| 1 | 
 L2H = -image_type gif -split 5 -show_section_numbers -link 2 \ | 
 # | 
| 2 | 
       -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" \ | 
 #  $Header$ | 
| 3 | 
       -local_icons -noantialias -notransparent -white | 
 #  $Name$ | 
| 4 | 
  | 
 # | 
| 5 | 
  | 
  | 
| 6 | 
  | 
 # | 
| 7 | 
  | 
 #L2H = -image_type gif -split 5 -show_section_numbers -link 2 \ | 
| 8 | 
  | 
 #      -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" \ | 
| 9 | 
  | 
 #      -local_icons -noantialias -notransparent -white | 
| 10 | 
  | 
  | 
| 11 | 
  | 
  | 
| 12 | 
 L2H = -image_type png -split 5 -show_section_numbers -link 2 \ | 
 L2H = -image_type png -split 5 -show_section_numbers -link 2 \ | 
| 13 | 
       -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" \ | 
       -address "<a href=mailto:support@mitgcm.org>mitgcm-support@mitgcm.org</a>" \ | 
| 14 | 
       -local_icons -noantialias -notransparent -white | 
       -local_icons -noantialias -notransparent -white | 
| 15 | 
  | 
  | 
| 16 | 
 default: | 
 default: | 
| 38 | 
  | 
  | 
| 39 | 
 pdf: manual.pdf | 
 pdf: manual.pdf | 
| 40 | 
  | 
  | 
| 41 | 
  | 
 #eh3 WARNING: due to the make dependencies, using the following rule will  | 
| 42 | 
  | 
 #eh3   *always* result in running the "manual.dvi" and "l2h.tgz" rules | 
| 43 | 
  | 
 #eh3   *TWICE* due to the "*/*.ps" entry in the dependency list! | 
| 44 | 
  | 
 #eh3 html: | 
| 45 | 
  | 
 #eh3    make l2h | 
| 46 | 
  | 
 #eh3    make subfigs | 
| 47 | 
 html: | 
 html: | 
| 48 | 
         make l2h | 
         make l2h | 
| 49 | 
         make subfigs | 
         cd manual; ../tools/make_mail_subjects.sh | 
| 50 | 
  | 
         cd manual; ../tools/figsub.sh | 
| 51 | 
  | 
         cd manual; ../tools/fix_docref_target.sh | 
| 52 | 
  | 
         cd manual; ../tools/genredir.sh | 
| 53 | 
  | 
         tar -czf manual.tgz manual | 
| 54 | 
  | 
  | 
| 55 | 
 l2h: l2h.tgz | 
 l2h: l2h.tgz | 
| 56 | 
  | 
  | 
| 57 | 
 subfigs: manual.tgz | 
 subfigs: manual.tgz | 
| 58 | 
  | 
  | 
| 59 | 
 manual.dvi: *.tex */*.tex */*/*/*.tex */*.ps */*.eps */*/*/*.eps | 
 manual.dvi: *.tex */*.tex */*/*/*.tex */*.ps */*.eps */*/*/*.eps manual_references.bib */*/*/*.templ | 
| 60 | 
  | 
         ( cd part3/case_studies/held_suarez_cs/  &&  make ) | 
| 61 | 
         TEXINPUTS=.:::texinputs latex manual | 
         TEXINPUTS=.:::texinputs latex manual | 
| 62 | 
         bibtex manual | 
         bibtex manual | 
| 63 | 
         TEXINPUTS=.:::texinputs latex manual | 
         TEXINPUTS=.:::texinputs latex manual | 
| 64 | 
         TEXINPUTS=.:::texinputs latex manual | tee warnings | 
         TEXINPUTS=.:::texinputs latex manual | tee warnings | 
| 65 | 
  | 
  | 
| 66 | 
 manual.ps: manual.dvi | 
 manual.ps: manual.dvi | 
| 67 | 
         dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi | 
         dvips -Pcmz -Pamz -o manual.ps manual.dvi | 
| 68 | 
  | 
  | 
| 69 | 
 manual.pdf: manual.ps | 
 manual.pdf: manual.ps | 
| 70 | 
         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 | 
| 71 | 
  | 
  | 
| 72 | 
 clean:  | 
 clean:  | 
| 73 | 
         rm -f manual.{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log | 
         rm -f manual.{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log | 
| 74 | 
  | 
  | 
| 75 | 
 Clean: | 
 Clean: | 
| 76 | 
         make clean | 
         make clean | 
| 77 | 
  | 
         ( cd part3/case_studies/held_suarez_cs/  &&  make clean ) | 
| 78 | 
         rm -f manual.{ps,pdf,ps.gz} | 
         rm -f manual.{ps,pdf,ps.gz} | 
| 79 | 
         rm -rf manual | 
         rm -rf manual | 
| 80 | 
         rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz} | 
         rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz} |