view Makefile @ 24:8c0a7c96df55

reviewing by daddy part two
author meillo@marmaro.de
date Sun, 04 Nov 2007 11:05:48 +0100
parents fabdbea53cc0
children
line wrap: on
line source

# Makefile for latex docs

SRC = Reisebericht-Ukraine07.tex
OBJ = ${SRC:.tex=.pdf}


all:
	pdflatex Reisebericht-Ukraine07.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