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

Contents of /MITgcm_contrib/articles/ceaice_split_version/ceaice_part1/Makefile

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


Revision 1.3 - (show annotations) (download)
Tue Nov 25 14:22:09 2008 UTC (17 years, 11 months ago) by dimitri
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -1 lines
splitting figures in three subdirectories on skylla (figs_part1, figs_part2,
and figs_other) in order to speed up "make Clean".

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_part1
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 make Clean
21 make get_figs
22 make all
23
24 get_figs:
25 \mkdir -p ../figs_ceaice
26 \wget ftp://ecco2.jpl.nasa.gov/data9/articles/ceaice/figs_part1/'*'
27 \gunzip *.eps*.gz
28 \mv *.eps* ../figs_ceaice
29 \mv *.png ../figs_ceaice
30
31 all:
32 make tex
33 make ps
34 make pdf
35 make ps.gz
36
37 tex: $(SRC).dvi
38
39 ps: $(SRC).ps
40
41 ps.gz: $(SRC).ps
42 gzip -9 -c $(SRC).ps > $(SRC).ps.gz
43
44 pdf: $(SRC).pdf
45
46 $(SRC).dvi: *.tex
47 TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
48 bibtex $(SRC)
49 TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
50 TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
51 TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC) | tee warnings
52
53 $(SRC).ps: $(SRC).dvi
54 dvips -Pcmz -Pamz -o $(SRC).ps $(SRC).dvi
55
56 $(SRC).pdf: $(SRC).tex $(SRC).dvi $(SRC).ps
57 # pdflatex $(LATEXFLAGS) $(SRC)
58 ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=a4 $(SRC).ps $(SRC).pdf
59
60 clean:
61 rm -f $(SRC).{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log *~
62 Clean:
63 make clean
64 rm -f $(SRC).{ps,pdf,ps.gz}
65 rm -rf $(SRC)
66 rm -f $(SRC).{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz}
67
68

  ViewVC Help
Powered by ViewVC 1.1.22