docs/ps-referat-ibm
diff Makefile @ 0:ccfa25b1fca2
initial commit
author | meillo@marmaro.de |
---|---|
date | Thu, 18 Sep 2008 21:32:55 +0200 |
parents | |
children | ef4d7b41bf72 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Thu Sep 18 21:32:55 2008 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# Makefile for latex docs 1.5 +# by meillo@marmaro.de 1.6 +# uses `latexmk' 1.7 +# 1.8 + 1.9 +SRC = ps-referat 1.10 +PRINT = print 1.11 + 1.12 + 1.13 +all: 1.14 + latexmk -pdf $(SRC) 1.15 + 1.16 + 1.17 +clean: 1.18 + latexmk -c 1.19 + 1.20 +view: all 1.21 + xpdf -z page $(SRC).pdf & 1.22 + 1.23 +watch: 1.24 + latexmk -pdf -pvc -pv- $(SRC) & 1.25 + xpdf -z page $(SRC).pdf & 1.26 + 1.27 +print: 1.28 + @echo 'creating print version' 1.29 + @sed -e '/\\pause/d' ${SRC}.tex > ${PRINT}.tex 1.30 + latexmk -pdf $(PRINT) 1.31 + @mv ${PRINT}.pdf $(SRC)_${PRINT}.pdf 1.32 + 1.33 +.PHONY: all clean view watch print 1.34 +.SUFFIXES: .tex .pdf