/[MITgcm]/MITgcm_contrib/articles/ceaice_split_version/ceaice_part2/Makefile
ViewVC logotype

Annotation of /MITgcm_contrib/articles/ceaice_split_version/ceaice_part2/Makefile

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


Revision 1.5 - (hide annotations) (download)
Wed Apr 15 07:46:10 2009 UTC (16 years, 3 months ago) by mlosch
Branch: MAIN
Changes since 1.4: +1 -1 lines
minor change gunzip -> gunzip -f

1 heimbach 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     SRC=ceaice_part2
6     LATEXFLAGS=-interaction=batchmode
7    
8     default:
9     @echo "Targets"
10     @echo " make All - everything in order"
11     @echo " make get_figs - get figures"
12     @echo " make all - everything except get_figs in order"
13     @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 dimitri 1.3 make Clean
21 heimbach 1.1 make get_figs
22     make all
23    
24     get_figs:
25 dimitri 1.2 \mkdir -p ../figs_ceaice
26 dimitri 1.3 \wget ftp://ecco2.jpl.nasa.gov/data9/articles/ceaice/figs_part2/'*'
27 mlosch 1.5 \gunzip -f *.eps*.gz
28 dimitri 1.2 \mv *.eps* ../figs_ceaice
29     \mv *.png ../figs_ceaice
30 dimitri 1.4 \mv *.fig ../figs_ceaice
31     \mv *.jpg ../figs_ceaice
32 heimbach 1.1
33     all:
34     make tex
35     make ps
36     make pdf
37     make ps.gz
38    
39     tex: $(SRC).dvi
40    
41     ps: $(SRC).ps
42    
43     ps.gz: $(SRC).ps
44     gzip -9 -c $(SRC).ps > $(SRC).ps.gz
45    
46     pdf: $(SRC).pdf
47    
48     $(SRC).dvi: *.tex
49     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
50     bibtex $(SRC)
51     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
52     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
53     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC) | tee warnings
54    
55     $(SRC).ps: $(SRC).dvi
56     dvips -Pcmz -Pamz -o $(SRC).ps $(SRC).dvi
57    
58     $(SRC).pdf: $(SRC).tex $(SRC).dvi $(SRC).ps
59     # pdflatex $(LATEXFLAGS) $(SRC)
60     ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=a4 $(SRC).ps $(SRC).pdf
61    
62     clean:
63     rm -f $(SRC).{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log *~
64     Clean:
65     make clean
66     rm -f $(SRC).{ps,pdf,ps.gz}
67     rm -rf $(SRC)
68     rm -f $(SRC).{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz}
69    
70    

  ViewVC Help
Powered by ViewVC 1.1.22