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

Annotation of /MITgcm_contrib/articles/ceaice/Makefile

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


Revision 1.3 - (hide annotations) (download)
Fri Feb 29 01:24:37 2008 UTC (17 years, 4 months ago) by mlosch
Branch: MAIN
Changes since 1.2: +2 -2 lines
fix target get_figs to accomodate *.epsi files

1 mlosch 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
6     LATEXFLAGS=-interaction=batchmode
7    
8     default:
9     @echo "Targets"
10 dimitri 1.2 @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 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 mlosch 1.3 \gunzip *.eps*.gz
27     \mv *.eps* figs
28 mlosch 1.1
29     all:
30     make tex
31     make ps
32     make pdf
33     make ps.gz
34    
35     tex: $(SRC).dvi
36    
37     ps: $(SRC).ps
38    
39     ps.gz: $(SRC).ps
40     gzip -9 -c $(SRC).ps > $(SRC).ps.gz
41    
42     pdf: $(SRC).pdf
43    
44     $(SRC).dvi: *.tex
45     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
46 dimitri 1.2 bibtex $(SRC)
47     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
48 mlosch 1.1 TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
49     TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC) | tee warnings
50    
51     $(SRC).ps: $(SRC).dvi
52     dvips -Pcmz -Pamz -o $(SRC).ps $(SRC).dvi
53    
54     $(SRC).pdf: $(SRC).tex $(SRC).dvi $(SRC).ps
55     # pdflatex $(LATEXFLAGS) $(SRC)
56     ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=a4 $(SRC).ps $(SRC).pdf
57    
58     clean:
59 dimitri 1.2 rm -f $(SRC).{aux,bbl,blg,dvi,log,out,toc} warnings l2h.log *~
60 mlosch 1.1 Clean:
61     make clean
62     rm -f $(SRC).{ps,pdf,ps.gz}
63     rm -rf $(SRC)
64     rm -f $(SRC).{tz,tgz} mbkup.{tz,tgz} l2h.{tz,tgz}
65    
66    

  ViewVC Help
Powered by ViewVC 1.1.22