Mercurial > docs > diploma
comparison 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 |
comparison
equal
deleted
inserted
replaced
202:3882f462d02d | 203:991400d3b861 |
---|---|
1 # makefile using `latexmk' | 1 # makefile using `latexmk' |
2 | 2 |
3 DOC=thesis | 3 DOC=thesis |
4 COVER=cover | 4 COVER=cover |
5 | 5 |
6 all: pdf | |
7 | 6 |
8 pdf: | 7 .PHONY: all |
9 latexmk -pdf $(DOC) | 8 all: ps |
10 | 9 |
11 view: pdf | 10 .PHONY: ps |
12 xpdf -z page $(DOC).pdf & | 11 ps: img |
12 latexmk -f -ps $(DOC) | |
13 | 13 |
14 watch: view | 14 .PHONY: pdf |
15 latexmk -pdf -pvc -pv- $(DOC) | 15 pdf: img |
16 latexmk -f -pdfps $(DOC) | |
16 | 17 |
18 .PHONY: clean | |
17 clean: | 19 clean: |
18 latexmk -c | 20 latexmk -c |
19 rm web.* | 21 rm web.* |
22 cd img ; $(MAKE) clean ; cd - | |
20 | 23 |
24 .PHONY: cover | |
21 cover: | 25 cover: |
22 latexmk -pdf $(COVER) | 26 latexmk -ps -pdfps $(COVER) |
23 | 27 |
24 .PHONY: pdf view watch clean cover | 28 .PHONY: img |
29 img: | |
30 cd img ; $(MAKE) ; cd - | |
31 |