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

Diff of /MITgcm_contrib/articles/ceaice/Makefile

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

--- MITgcm_contrib/articles/ceaice/Makefile	2008/01/18 07:53:13	1.1
+++ MITgcm_contrib/articles/ceaice/Makefile	2008/01/18 17:33:56	1.2
@@ -7,10 +7,24 @@
 
 default:
 	@echo "Targets"
-	@echo " make all  - everything in order"
-	@echo " make tex  - tex and bibliograohy"
-	@echo " make ps   - postscript form of manual"
-	@echo " make pdf  - pdf form of $(SRC)"
+	@echo " make All      - everything in order"
+	@echo " make get_figs - get figures"
+	@echo " make all      - everything except get_figs in order"
+	@echo " make tex      - tex and bibliograohy"
+	@echo " make ps       - postscript form of manual"
+	@echo " make pdf      - pdf form of $(SRC)"
+	@echo " make clean    - remove intermediary files: aux, dvi, etc."
+	@echo " make Clean    - remove all files: ps, pdf, etc."
+
+All:
+	make get_figs
+	make all
+
+get_figs:
+	\mkdir -p figs
+	\wget ftp://ecco2.jpl.nasa.gov/data9/articles/ceaice/figs/'*'
+	\gunzip *.eps.gz
+	\mv *.eps figs
 
 all:
 	make tex
@@ -29,7 +43,8 @@
 
 $(SRC).dvi: *.tex 
 	TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
-#	bibtex $(SRC)
+	bibtex $(SRC)
+	TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
 	TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC)
 	TEXINPUTS=.:::texinputs latex $(LATEXFLAGS) $(SRC) | tee warnings
 
@@ -41,7 +56,7 @@
 	ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=a4 $(SRC).ps $(SRC).pdf
 
 clean: 
-	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 *~
 Clean:
 	make clean
 	rm -f $(SRC).{ps,pdf,ps.gz}

 

  ViewVC Help
Powered by ViewVC 1.1.22