more stuff
[bitonic-mengthesis.git] / docs / Makefile
index cbd243667f776260c5ea8b798297bf4fa8e4e192..33b552cca30109e2015708eafa93b7157da87dc0 100644 (file)
@@ -3,13 +3,19 @@ OBJECTS = $(patsubst %.tex, %.pdf, $(SOURCES))
 
 all: $(OBJECTS)
 
-%.pdf : %.tex
-       xelatex -halt-on-error $<
-       xelatex -halt-on-error $<
+background.pdf: background.tex background.bib
+       xelatex -halt-on-error $< -o $@
+       bibtex background
+       xelatex -halt-on-error $< -o $@
+       xelatex -halt-on-error $< -o $@
+
+idris-proposal.pdf: idris-proposal.tex 
+       xelatex -halt-on-error $< -o $@
+       xelatex -halt-on-error $< -o $@
 
 clean: cleanup
        rm -f $(OBJECTS)
 
 cleanup:
-       rm -f *.log *.aux *.nav *.snm *.toc *.vrb *.out
+       rm -f *.log *.aux *.nav *.snm *.toc *.vrb *.out *.bbl