Mercurial > docs > diploma
changeset 203:991400d3b861
updated Makefile and .hgignore
author | meillo@marmaro.de |
---|---|
date | Thu, 01 Jan 2009 21:32:44 +0100 (2009-01-01) |
parents | 3882f462d02d |
children | d86a7a65b91f |
files | .hgignore thesis/Makefile |
diffstat | 2 files changed, 20 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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 - +