docs/DesignPatterns
view Makefile @ 15:0bbbd5de5daf
added content from markus rundel
author | meillo@marmaro.de |
---|---|
date | Sun, 24 Jun 2007 11:41:52 +0200 |
parents | eff2ffb701fe |
children | 12d6f1a641c8 |
line source
1 # Makefile for latex docs
3 SRC = observer.tex composite.tex
4 OBJ = ${SRC:.tex=.pdf}
7 all:
8 pdflatex 00_vorstellung.tex
9 pdflatex 01_einfuehrung.tex
10 pdflatex 02_anderePatterns.tex
11 pdflatex 03_observer.tex
12 pdflatex 04_composite.tex
13 pdflatex 05_antiPatterns.tex
14 pdflatex 09_zusammenfassung.tex
16 merge:
17 rm all.pdf
18 pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf
19 pdftk *.pdf cat output all.pdf
22 #all: ${OBJ}
24 #.tex.pdf:
25 # @echo pdflatex $<
26 # @pdflatex $<
28 ${OBJ}: ${SRC}
29 @echo pdflatex $@
30 @pdflatex ${SRC}
31 @pdflatex ${SRC}
33 xpdf: ${OBJ}
34 @echo xpdf $@
35 @xpdf -fullscreen -z page ${OBJ}
36 #@rm ${OBJ}
38 clean:
39 echo 'cleaning ...'
40 rm *.{aux,lof,log,lot,nav,out,snm,toc} 2> /dev/null
42 .PHONY: all xpdf clean