docs/ps-referat-ibm

view Makefile @ 3:1c6f11b47489

Added tag final for changeset 40493b392762
author meillo@marmaro.de
date Thu, 25 Sep 2008 10:44:34 +0200
parents
children ef4d7b41bf72
line source
1 # Makefile for latex docs
2 # by meillo@marmaro.de
3 # uses `latexmk'
4 #
6 SRC = ps-referat
7 PRINT = print
10 all:
11 latexmk -pdf $(SRC)
14 clean:
15 latexmk -c
17 view: all
18 xpdf -z page $(SRC).pdf &
20 watch:
21 latexmk -pdf -pvc -pv- $(SRC) &
22 xpdf -z page $(SRC).pdf &
24 print:
25 @echo 'creating print version'
26 @sed -e '/\\pause/d' ${SRC}.tex > ${PRINT}.tex
27 latexmk -pdf $(PRINT)
28 @mv ${PRINT}.pdf $(SRC)_${PRINT}.pdf
30 .PHONY: all clean view watch print
31 .SUFFIXES: .tex .pdf