| 1 | 
  | 
 # | 
| 2 | 
  | 
 #  $Header$ | 
| 3 | 
  | 
 #  $Name$ | 
| 4 | 
  | 
 # | 
| 5 | 
  | 
  | 
| 6 | 
  | 
 # | 
| 7 | 
 #L2H = -image_type gif -split 5 -show_section_numbers -link 2 \ | 
 #L2H = -image_type gif -split 5 -show_section_numbers -link 2 \ | 
| 8 | 
 #      -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" \ | 
 #      -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" \ | 
| 9 | 
 #      -local_icons -noantialias -notransparent -white | 
 #      -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>mitgcm-support@dev.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: | 
| 56 | 
  | 
  | 
| 57 | 
 subfigs: manual.tgz | 
 subfigs: manual.tgz | 
| 58 | 
  | 
  | 
| 59 | 
 manual.dvi: *.tex */*.tex */*/*/*.tex */*.ps */*.eps */*/*/*.eps manual_references.bib */*/*/*.templ | 
 manual.dvi: *.tex */*/*.tex */*/*.templ */*/*.ps */*/*.eps manual_references.bib | 
| 60 | 
         ( cd part3/case_studies/held_suarez_cs/  &&  make ) | 
         ( cd s_examples/global_oce_latlon/  &&  make ) | 
| 61 | 
  | 
         ( cd s_examples/held_suarez_cs/  &&  make ) | 
| 62 | 
         TEXINPUTS=.:::texinputs latex manual | 
         TEXINPUTS=.:::texinputs latex manual | 
| 63 | 
         bibtex manual | 
         bibtex manual | 
| 64 | 
         TEXINPUTS=.:::texinputs latex manual | 
         TEXINPUTS=.:::texinputs latex manual | 
| 65 | 
         TEXINPUTS=.:::texinputs latex manual | tee warnings | 
         TEXINPUTS=.:::texinputs latex manual | 
| 66 | 
  | 
         tools/latex_warning.sh manual.log warnings | 
| 67 | 
  | 
  | 
| 68 | 
 manual.ps: manual.dvi | 
 manual.ps: manual.dvi | 
| 69 | 
         dvips -Pcmz -Pamz -o manual.ps manual.dvi | 
         dvips -Pcmz -Pamz -o manual.ps manual.dvi | 
| 72 | 
         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 | 
| 73 | 
  | 
  | 
| 74 | 
 clean:  | 
 clean:  | 
 | 
         ( cd part3/case_studies/held_suarez_cs/  &&  make clean ) | 
  | 
| 75 | 
         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 | 
| 76 | 
  | 
  | 
| 77 | 
 Clean: | 
 Clean: | 
| 78 | 
         make clean | 
         make clean | 
| 79 | 
  | 
         ( cd s_examples/global_oce_latlon/  &&  make Clean ) | 
| 80 | 
  | 
         ( cd s_examples/held_suarez_cs/  &&  make Clean ) | 
| 81 | 
         rm -f manual.{ps,pdf,ps.gz} | 
         rm -f manual.{ps,pdf,ps.gz} | 
| 82 | 
         rm -rf manual | 
         rm -rf manual | 
| 83 | 
         rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz} | 
         rm -f manual.{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz} |