docs/diploma

changeset 203:991400d3b861

updated Makefile and .hgignore
author meillo@marmaro.de
date Thu, 01 Jan 2009 21:32:44 +0100
parents 3882f462d02d
children d86a7a65b91f
files .hgignore thesis/Makefile
diffstat 2 files changed, 20 insertions(+), 10 deletions(-) [+]
line diff
     1.1 --- a/.hgignore	Thu Jan 01 21:32:19 2009 +0100
     1.2 +++ b/.hgignore	Thu Jan 01 21:32:44 2009 +0100
     1.3 @@ -4,4 +4,7 @@
     1.4  bu
     1.5  
     1.6  syntax: regexp
     1.7 -thesis/.*\.(aux|bak|bbl|blg|dvi|idx|ilg|ind|lof|log|lot|pdf|toc)$
     1.8 +thesis/.*\.(aux|bak|bbl|blg|dvi|idx|ilg|ind|lof|log|lot|pdf|toc|ps)$
     1.9 +
    1.10 +syntax: glob
    1.11 +thesis/img/*.eps
     2.1 --- a/thesis/Makefile	Thu Jan 01 21:32:19 2009 +0100
     2.2 +++ b/thesis/Makefile	Thu Jan 01 21:32:44 2009 +0100
     2.3 @@ -3,22 +3,29 @@
     2.4  DOC=thesis
     2.5  COVER=cover
     2.6  
     2.7 -all: pdf
     2.8  
     2.9 -pdf:
    2.10 -	latexmk -pdf $(DOC)
    2.11 +.PHONY: all
    2.12 +all: ps
    2.13  
    2.14 -view: pdf
    2.15 -	xpdf -z page $(DOC).pdf &
    2.16 +.PHONY: ps
    2.17 +ps: img
    2.18 +	latexmk -f -ps $(DOC)
    2.19  
    2.20 -watch: view
    2.21 -	latexmk -pdf -pvc -pv- $(DOC)
    2.22 +.PHONY: pdf
    2.23 +pdf: img
    2.24 +	latexmk -f -pdfps $(DOC)
    2.25  
    2.26 +.PHONY: clean
    2.27  clean:
    2.28  	latexmk -c
    2.29  	rm web.*
    2.30 +	cd img ; $(MAKE) clean ; cd -
    2.31  
    2.32 +.PHONY: cover
    2.33  cover:
    2.34 -	latexmk -pdf $(COVER)
    2.35 +	latexmk -ps -pdfps $(COVER)
    2.36  
    2.37 -.PHONY: pdf view watch clean cover
    2.38 +.PHONY: img
    2.39 +img:
    2.40 +	cd img ; $(MAKE) ; cd -
    2.41 +