ARGH
[matches/honours.git] / thesis / Makefile
index fdf0908..30c8fdb 100644 (file)
@@ -1,13 +1,22 @@
 #Makefile for thesis
+
+all : 
+       make clean
+       make thesis.pdf
+       evince thesis.pdf &
+
 thesis.pdf : thesis.tex
        rm -f *.aux *.bbl *.log *.toc *.lof *.blg *.lot
 
-       pdflatex thesis
+       pdflatex --shell-escape thesis
        bibtex thesis
-       pdflatex thesis
-       pdflatex thesis
+       pdflatex --shell-escape thesis
+       pdflatex --shell-escape thesis
 
        rm -f *.bbl *.log *.toc *.lof *.blg *.lot
 
+       pdftk thesis.pdf proposal/proposal.pdf cat output out.pdf
+       mv out.pdf thesis.pdf
+
 clean : 
-       rm thesis.pdf
+       rm -f thesis.pdf

UCC git Repository :: git.ucc.asn.au