diff writeup/Makefile @ 629:75458692efba

make a makefile rule for the aistats2011_cameraready.pdf target. It use new generic rule behind.
author Frederic Bastien <nouiz@nouiz.org>
date Thu, 17 Mar 2011 14:34:52 -0400
parents b6dfba0a110c
children 9910b921c9a6
line wrap: on
line diff
--- a/writeup/Makefile	Thu Mar 17 09:22:04 2011 -0400
+++ b/writeup/Makefile	Thu Mar 17 14:34:52 2011 -0400
@@ -1,8 +1,12 @@
-all: nips2010_submission.pdf
+all: aistats2011_cameraready.pdf
+#all: nips2010_submission.pdf
 
-nips2010_submission.pdf: nips2010_submission.tex images/*
-	pdflatex nips2010_submission.tex
-	bibtex -min-crossrefs=999 nips2010_submission
-	pdflatex nips2010_submission.tex
-	pdflatex nips2010_submission.tex
+%.pdf: %.tex images/*
+	pdflatex $<
+	bibtex -min-crossrefs=999 ${<:.tex=}
+	pdflatex $<
+	pdflatex $<
+	pdflatex $<
 
+clean:
+	rm -f *.aux *.bbl *.blg *.log
\ No newline at end of file