summaryrefslogtreecommitdiff
path: root/tex/thesis/Makefile
diff options
context:
space:
mode:
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 '*~'`
+