docs/ps-referat-ibm

annotate Makefile @ 1:f11774e70eb1

wrote the rest of the presentation and added the pics
author meillo@marmaro.de
date Wed, 24 Sep 2008 20:08:55 +0200
parents
children ef4d7b41bf72
rev   line source
meillo@0 1 # Makefile for latex docs
meillo@0 2 # by meillo@marmaro.de
meillo@0 3 # uses `latexmk'
meillo@0 4 #
meillo@0 5
meillo@0 6 SRC = ps-referat
meillo@0 7 PRINT = print
meillo@0 8
meillo@0 9
meillo@0 10 all:
meillo@0 11 latexmk -pdf $(SRC)
meillo@0 12
meillo@0 13
meillo@0 14 clean:
meillo@0 15 latexmk -c
meillo@0 16
meillo@0 17 view: all
meillo@0 18 xpdf -z page $(SRC).pdf &
meillo@0 19
meillo@0 20 watch:
meillo@0 21 latexmk -pdf -pvc -pv- $(SRC) &
meillo@0 22 xpdf -z page $(SRC).pdf &
meillo@0 23
meillo@0 24 print:
meillo@0 25 @echo 'creating print version'
meillo@0 26 @sed -e '/\\pause/d' ${SRC}.tex > ${PRINT}.tex
meillo@0 27 latexmk -pdf $(PRINT)
meillo@0 28 @mv ${PRINT}.pdf $(SRC)_${PRINT}.pdf
meillo@0 29
meillo@0 30 .PHONY: all clean view watch print
meillo@0 31 .SUFFIXES: .tex .pdf