docs/diploma

diff thesis/Makefile @ 203:991400d3b861

updated Makefile and .hgignore
author meillo@marmaro.de
date Thu, 01 Jan 2009 21:32:44 +0100
parents fa086dbbdf10
children aa14d1925151
line diff
     1.1 --- a/thesis/Makefile	Thu Jan 01 21:32:19 2009 +0100
     1.2 +++ b/thesis/Makefile	Thu Jan 01 21:32:44 2009 +0100
     1.3 @@ -3,22 +3,29 @@
     1.4  DOC=thesis
     1.5  COVER=cover
     1.6  
     1.7 -all: pdf
     1.8  
     1.9 -pdf:
    1.10 -	latexmk -pdf $(DOC)
    1.11 +.PHONY: all
    1.12 +all: ps
    1.13  
    1.14 -view: pdf
    1.15 -	xpdf -z page $(DOC).pdf &
    1.16 +.PHONY: ps
    1.17 +ps: img
    1.18 +	latexmk -f -ps $(DOC)
    1.19  
    1.20 -watch: view
    1.21 -	latexmk -pdf -pvc -pv- $(DOC)
    1.22 +.PHONY: pdf
    1.23 +pdf: img
    1.24 +	latexmk -f -pdfps $(DOC)
    1.25  
    1.26 +.PHONY: clean
    1.27  clean:
    1.28  	latexmk -c
    1.29  	rm web.*
    1.30 +	cd img ; $(MAKE) clean ; cd -
    1.31  
    1.32 +.PHONY: cover
    1.33  cover:
    1.34 -	latexmk -pdf $(COVER)
    1.35 +	latexmk -ps -pdfps $(COVER)
    1.36  
    1.37 -.PHONY: pdf view watch clean cover
    1.38 +.PHONY: img
    1.39 +img:
    1.40 +	cd img ; $(MAKE) ; cd -
    1.41 +