docs/DesignPatterns

view Makefile @ 28:ddd8378a539e

did lot of working on detailed-observer
author meillo@marmaro.de
date Thu, 05 Jul 2007 07:53:15 +0200
parents 12d6f1a641c8
children
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 03_observer.tex
11 pdflatex 04_composite.tex
12 pdflatex 05_antiPatterns.tex
13 pdflatex 09_zusammenfassung.tex
15 merge:
16 rm -f all.pdf
17 pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf
18 pdftk *.pdf cat output all.pdf
21 #all: ${OBJ}
23 #.tex.pdf:
24 # @echo pdflatex $<
25 # @pdflatex $<
27 ${OBJ}: ${SRC}
28 @echo pdflatex $@
29 @pdflatex ${SRC}
30 @pdflatex ${SRC}
32 xpdf: ${OBJ}
33 @echo xpdf $@
34 @xpdf -fullscreen -z page ${OBJ}
35 #@rm ${OBJ}
37 clean:
38 echo 'cleaning ...'
39 rm *.{aux,lof,log,lot,nav,out,snm,toc} 2> /dev/null
41 .PHONY: all xpdf clean