/[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.6 - (hide annotations) (download)
Sat Jan 16 17:10:05 2010 UTC (15 years, 6 months ago) by dimitri
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -0 lines
adding link to ../figs_ceaice_2009.11

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 dimitri 1.6 \ln -sf figs_ceaice ../figs_ceaice_2009.11
35 heimbach 1.1 make tex
36     make ps
37     make pdf
38     make ps.gz
39    
40     tex: $(SRC).dvi
41    
42     ps: $(SRC).ps
43    
44     ps.gz: $(SRC).ps
45     gzip -9 -c $(SRC).ps > $(SRC).ps.gz
46    
47     pdf: $(SRC).pdf
48    
49     $(SRC).dvi: *.tex
50     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
51     bibtex $(SRC)
52     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
53     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
54     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC) | tee warnings
55    
56     $(SRC).ps: $(SRC).dvi
57     dvips -Pcmz -Pamz -o $(SRC).ps $(SRC).dvi
58    
59     $(SRC).pdf: $(SRC).tex $(SRC).dvi $(SRC).ps
60     # pdflatex $(LATEXFLAGS) $(SRC)
61     ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=a4 $(SRC).ps $(SRC).pdf
62    
63     clean:
64     rm -f $(SRC).{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log *~
65     Clean:
66     make clean
67     rm -f $(SRC).{ps,pdf,ps.gz}
68     rm -rf $(SRC)
69     rm -f $(SRC).{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz}
70    
71    

  ViewVC Help
Powered by ViewVC 1.1.22