view Makefile @ 13:eff2ffb701fe

optmized titlepages; optimized Makefile
author meillo@marmaro.de
date Thu, 21 Jun 2007 11:36:57 +0200
parents a7bdc1211d3a
children dc88dad3b5af
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 *.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