changeset 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 ca20f94448dc
children f55f1b1499c4
files writeup/Makefile
diffstat 1 files changed, 10 insertions(+), 6 deletions(-) [+]
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