Index: trunk/ppTranslate/documentation/ICD/Makefile
===================================================================
--- trunk/ppTranslate/documentation/ICD/Makefile	(revision 34506)
+++ trunk/ppTranslate/documentation/ICD/Makefile	(revision 34696)
@@ -1,7 +1,16 @@
-SOURCE=PSDC-940-005
+SOURCE  = PSDC-940-005
+
+FIGURES = figures/exposure_ota.eps \
+	figures/ext_theta.eps \
+	figures/ipp_workflow.eps
 
 RM=/bin/rm -f
 
-all:
+figures/%.eps: figures/%.fig
+	fig2dev -L eps $< $@
+
+all: figures
+	latex $(SOURCE).tex
+	bibtex $(SOURCE)
 	latex $(SOURCE).tex
 	latex $(SOURCE).tex
@@ -12,4 +21,7 @@
 	@echo 
 
+figures: $(FIGURES)
+
 clean:
-	$(RM) *.aux *.dvi *.out *.pdf *.toc *.log *~
+	$(RM) *.aux *.dvi *.out *.pdf *.toc *.log *~ *.blg *.bbl
+	$(RM) $(FIGURES)
