view Makefile @ 17:6a63cd1ca3d8

updated rundels content
author meillo@marmaro.de
date Mon, 25 Jun 2007 21:30:53 +0200 (2007-06-25)
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