# HG changeset patch # User meillo@marmaro.de # Date 1230841964 -3600 # Node ID 991400d3b86148453c9752685335c2dd92dd1f9a # Parent 3882f462d02d6f085b2261caa8dc756c8dd5a61e updated Makefile and .hgignore diff -r 3882f462d02d -r 991400d3b861 .hgignore --- a/.hgignore Thu Jan 01 21:32:19 2009 +0100 +++ b/.hgignore Thu Jan 01 21:32:44 2009 +0100 @@ -4,4 +4,7 @@ bu syntax: regexp -thesis/.*\.(aux|bak|bbl|blg|dvi|idx|ilg|ind|lof|log|lot|pdf|toc)$ +thesis/.*\.(aux|bak|bbl|blg|dvi|idx|ilg|ind|lof|log|lot|pdf|toc|ps)$ + +syntax: glob +thesis/img/*.eps diff -r 3882f462d02d -r 991400d3b861 thesis/Makefile --- a/thesis/Makefile Thu Jan 01 21:32:19 2009 +0100 +++ b/thesis/Makefile Thu Jan 01 21:32:44 2009 +0100 @@ -3,22 +3,29 @@ DOC=thesis COVER=cover -all: pdf -pdf: - latexmk -pdf $(DOC) +.PHONY: all +all: ps -view: pdf - xpdf -z page $(DOC).pdf & +.PHONY: ps +ps: img + latexmk -f -ps $(DOC) -watch: view - latexmk -pdf -pvc -pv- $(DOC) +.PHONY: pdf +pdf: img + latexmk -f -pdfps $(DOC) +.PHONY: clean clean: latexmk -c rm web.* + cd img ; $(MAKE) clean ; cd - +.PHONY: cover cover: - latexmk -pdf $(COVER) + latexmk -ps -pdfps $(COVER) -.PHONY: pdf view watch clean cover +.PHONY: img +img: + cd img ; $(MAKE) ; cd - +