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