docs/Topcased-Praesentation

view Makefile @ 4:039ce2213911

added risklist; added database; new content for rup
author meillo@marmaro.de
date Mon, 21 Jan 2008 21:13:13 +0100
parents
children
line source
1 # Makefile for latex docs
2 # by meillo@marmaro.de
3 #
4 # Attention: needs GNUmake for patsubst and wildcard
7 SRC = topcased.tex
8 OBJ = topcased.pdf
9 PDFLATEX = pdflatex
12 all: ${OBJ}
15 #.tex.pdf:
16 %.pdf: %.tex
17 @echo generating $<
18 @${PDFLATEX} $<
21 dist: realclean
22 # generate 3 times for correct toc and pagenumbers
23 ${MAKE} all
24 ${MAKE} rmpdf
25 ${MAKE} all
26 ${MAKE} rmpdf
27 ${MAKE} all
30 clean:
31 @echo 'cleaning ...'
32 @rm -f *.{aux,lof,log,lot,nav,out,snm,toc}
34 rmpdf:
35 @echo 'removing PDFs ...'
36 @rm -f *.pdf
38 realclean: clean rmpdf
40 xpdf: all
41 xpdf -z page *.pdf
44 .PHONY: all xpdf dist clean realclean rmpdf
45 .SUFFIXES: .tex .pdf
48 #merge:
49 # rm -f all.pdf
50 # pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf
51 # pdftk *.pdf cat output all.pdf
53 #xpdf: ${OBJ}
54 # @echo xpdf $@
55 # @xpdf -fullscreen -z page ${OBJ} &
56 # #@rm ${OBJ}