docs/DesignPatterns
annotate Makefile @ 12:a7bdc1211d3a
renamed files; some restructuring
author | meillo@marmaro.de |
---|---|
date | Thu, 21 Jun 2007 10:46:57 +0200 |
parents | 7744082fd6a3 |
children | eff2ffb701fe |
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@6 | 8 pdflatex observer.tex |
meillo@6 | 9 pdflatex composite.tex |
meillo@6 | 10 |
meillo@6 | 11 |
meillo@6 | 12 #all: ${OBJ} |
meillo@0 | 13 |
meillo@0 | 14 #.tex.pdf: |
meillo@0 | 15 # @echo pdflatex $< |
meillo@0 | 16 # @pdflatex $< |
meillo@0 | 17 |
meillo@0 | 18 ${OBJ}: ${SRC} |
meillo@0 | 19 @echo pdflatex $@ |
meillo@0 | 20 @pdflatex ${SRC} |
meillo@0 | 21 @pdflatex ${SRC} |
meillo@0 | 22 |
meillo@0 | 23 xpdf: ${OBJ} |
meillo@0 | 24 @echo xpdf $@ |
meillo@3 | 25 @xpdf -fullscreen -z page ${OBJ} |
meillo@6 | 26 #@rm ${OBJ} |
meillo@0 | 27 |
meillo@2 | 28 clean: |
meillo@2 | 29 echo 'cleaning ...' |
meillo@12 | 30 rm *.{aux,lof,log,lot,nav,out,snm,toc} 2> /dev/null |
meillo@0 | 31 |
meillo@12 | 32 .PHONY: all xpdf clean |