docs/DesignPatterns

view Makefile @ 13:eff2ffb701fe

optmized titlepages; optimized Makefile
author meillo@marmaro.de
date Thu, 21 Jun 2007 11:36:57 +0200
parents a7bdc1211d3a
children dc88dad3b5af
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 *.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