view Makefile @ 36:f03413250b39 Ausarbeitung final

some typos and cleanups
author meillo@marmaro.de
date Sat, 11 Aug 2007 22:42:24 +0200
parents 80c995d97cfa
children
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 03_observer.tex
	pdflatex 04_composite.tex
	pdflatex 05_antiPatterns.tex
	pdflatex 09_zusammenfassung.tex

merge:
	rm -f 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