From 763a5e6c80e7df2ca1b15bab6726cd50e7ed0add Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Wed, 5 Sep 2012 15:34:42 +1000 Subject: Something, something. Thesis! --- tex/thesis/Makefile | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) (limited to 'tex/thesis/Makefile') 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 '*~'` + -- cgit v1.2.3