summaryrefslogtreecommitdiff
path: root/tex/thesis/Makefile
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-09-05 15:34:42 +1000
committerCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-09-05 15:34:42 +1000
commit763a5e6c80e7df2ca1b15bab6726cd50e7ed0add (patch)
treefda4b79f9ee6776a271530f7b4c31f9035931e0a /tex/thesis/Makefile
parent608cf2e6a2ccc967e82b2b7a9693fd0bafb778fb (diff)
Something, something. Thesis!
Diffstat (limited to 'tex/thesis/Makefile')
-rw-r--r--tex/thesis/Makefile33
1 files changed, 27 insertions, 6 deletions
diff --git a/tex/thesis/Makefile b/tex/thesis/Makefile
index 66eb399..1ccb5c4 100644
--- a/tex/thesis/Makefile
+++ b/tex/thesis/Makefile
@@ -1,8 +1,29 @@
-all:
- pdflatex main.tex
- bibtex main
- pdflatex main.tex
- pdflatex main.tex
+
+PROJ = thesis
+
+.PHONY: all pdf wc clean
+
+all: pdf
+
+pdf:
+ pdflatex $(PROJ)
+ bibtex $(PROJ)
+ pdflatex $(PROJ)
+ pdflatex $(PROJ)
+
+wc:
+ wc `find . -name "*.tex"`
clean:
- rm -f *.bbl *.aux *.blg *.log *.pdf *.out
+ rm -f `find . -name '*.log'`
+ rm -f `find . -name '*.dvi'`
+ rm -f `find . -name '*.ps'`
+ rm -f `find . -name '*.aux'`
+ rm -f `find . -name '*.blg'`
+ rm -f `find . -name '*.bbl'`
+ rm -f `find . -name '*.toc'`
+ rm -f `find . -name '*.lof'`
+ rm -f `find . -name '*.lot'`
+ rm -f `find . -name '*.out'`
+ rm -f `find . -name '*~'`
+