/[MITgcm]/MITgcm_contrib/articles/ceaice/Makefile
ViewVC logotype

Diff of /MITgcm_contrib/articles/ceaice/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by mlosch, Fri Jan 18 07:53:13 2008 UTC revision 1.2 by dimitri, Fri Jan 18 17:33:56 2008 UTC
# Line 7  LATEXFLAGS=-interaction=batchmode Line 7  LATEXFLAGS=-interaction=batchmode
7    
8  default:  default:
9          @echo "Targets"          @echo "Targets"
10          @echo " make all  - everything in order"          @echo " make All      - everything in order"
11          @echo " make tex  - tex and bibliograohy"          @echo " make get_figs - get figures"
12          @echo " make ps   - postscript form of manual"          @echo " make all      - everything except get_figs in order"
13          @echo " make pdf  - pdf form of $(SRC)"          @echo " make tex      - tex and bibliograohy"
14            @echo " make ps       - postscript form of manual"
15            @echo " make pdf      - pdf form of $(SRC)"
16            @echo " make clean    - remove intermediary files: aux, dvi, etc."
17            @echo " make Clean    - remove all files: ps, pdf, etc."
18    
19    All:
20            make get_figs
21            make all
22    
23    get_figs:
24            \mkdir -p figs
25            \wget ftp://ecco2.jpl.nasa.gov/data9/articles/ceaice/figs/'*'
26            \gunzip *.eps.gz
27            \mv *.eps figs
28    
29  all:  all:
30          make tex          make tex
# Line 29  pdf: $(SRC).pdf Line 43  pdf: $(SRC).pdf
43    
44  $(SRC).dvi: *.tex  $(SRC).dvi: *.tex
45          TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)          TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
46  #       bibtex $(SRC)          bibtex $(SRC)
47            TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
48          TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)          TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
49          TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC) | tee warnings          TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC) | tee warnings
50    
# Line 41  $(SRC).pdf: $(SRC).tex $(SRC).dvi $(SRC) Line 56  $(SRC).pdf: $(SRC).tex $(SRC).dvi $(SRC)
56          ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=a4 $(SRC).ps $(SRC).pdf          ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=a4 $(SRC).ps $(SRC).pdf
57    
58  clean:  clean:
59          rm -f $(SRC).{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log          rm -f $(SRC).{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log *~
60  Clean:  Clean:
61          make clean          make clean
62          rm -f $(SRC).{ps,pdf,ps.gz}          rm -f $(SRC).{ps,pdf,ps.gz}

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

  ViewVC Help
Powered by ViewVC 1.1.22