view Makefile @ 19:356aeb2f53f3

merged anderePatterns with AntiPatterns
author meillo@marmaro.de
date Tue, 26 Jun 2007 09:47:28 +0200
parents dc88dad3b5af
children 12d6f1a641c8
line wrap: on
line source

# Makefile for latex docs

SRC = observer.tex composite.tex
OBJ = ${SRC:.tex=.pdf}


all:
	pdflatex 00_vorstellung.tex
	pdflatex 01_einfuehrung.tex
	pdflatex 02_anderePatterns.tex
	pdflatex 03_observer.tex
	pdflatex 04_composite.tex
	pdflatex 05_antiPatterns.tex
	pdflatex 09_zusammenfassung.tex

merge:
	rm all.pdf
	pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf
	pdftk *.pdf cat output all.pdf


#all: ${OBJ}

#.tex.pdf:
#	@echo pdflatex $<
#	@pdflatex $<

${OBJ}: ${SRC}
	@echo pdflatex $@
	@pdflatex ${SRC}
	@pdflatex ${SRC}

xpdf: ${OBJ}
	@echo xpdf $@
	@xpdf -fullscreen -z page ${OBJ}
	#@rm ${OBJ}

clean:
	echo 'cleaning ...'
	rm *.{aux,lof,log,lot,nav,out,snm,toc} 2> /dev/null

.PHONY: all xpdf clean