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 |
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 |
|
|
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} |