docs/DesignPatterns
annotate 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 |
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 02_anderePatterns.tex |
meillo@13 | 11 pdflatex 03_observer.tex |
meillo@13 | 12 pdflatex 04_composite.tex |
meillo@13 | 13 pdflatex 05_antiPatterns.tex |
meillo@13 | 14 pdflatex 09_zusammenfassung.tex |
meillo@13 | 15 |
meillo@13 | 16 merge: |
meillo@13 | 17 rm all.pdf |
meillo@14 | 18 pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf |
meillo@13 | 19 pdftk *.pdf cat output all.pdf |
meillo@6 | 20 |
meillo@6 | 21 |
meillo@6 | 22 #all: ${OBJ} |
meillo@0 | 23 |
meillo@0 | 24 #.tex.pdf: |
meillo@0 | 25 # @echo pdflatex $< |
meillo@0 | 26 # @pdflatex $< |
meillo@0 | 27 |
meillo@0 | 28 ${OBJ}: ${SRC} |
meillo@0 | 29 @echo pdflatex $@ |
meillo@0 | 30 @pdflatex ${SRC} |
meillo@0 | 31 @pdflatex ${SRC} |
meillo@0 | 32 |
meillo@0 | 33 xpdf: ${OBJ} |
meillo@0 | 34 @echo xpdf $@ |
meillo@3 | 35 @xpdf -fullscreen -z page ${OBJ} |
meillo@6 | 36 #@rm ${OBJ} |
meillo@0 | 37 |
meillo@2 | 38 clean: |
meillo@2 | 39 echo 'cleaning ...' |
meillo@12 | 40 rm *.{aux,lof,log,lot,nav,out,snm,toc} 2> /dev/null |
meillo@0 | 41 |
meillo@12 | 42 .PHONY: all xpdf clean |