docs/Reisebericht-Ukraine07

diff Makefile @ 0:fd91829df761

initial commit
author meillo@marmaro.de
date Sun, 02 Sep 2007 13:46:18 +0200
parents
children fabdbea53cc0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Sun Sep 02 13:46:18 2007 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# Makefile for latex docs
     1.5 +
     1.6 +SRC = Reisebericht-Ukraine07.tex
     1.7 +OBJ = ${SRC:.tex=.pdf}
     1.8 +
     1.9 +
    1.10 +all:
    1.11 +	pdflatex Reisebericht-Ukraine07.tex
    1.12 +
    1.13 +#merge:
    1.14 +#	rm -f all.pdf
    1.15 +#	pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf
    1.16 +#	pdftk *.pdf cat output all.pdf
    1.17 +
    1.18 +
    1.19 +#all: ${OBJ}
    1.20 +
    1.21 +#.tex.pdf:
    1.22 +#	@echo pdflatex $<
    1.23 +#	@pdflatex $<
    1.24 +
    1.25 +${OBJ}: ${SRC}
    1.26 +	@echo pdflatex $@
    1.27 +	@pdflatex ${SRC}
    1.28 +	@pdflatex ${SRC}
    1.29 +
    1.30 +xpdf: ${OBJ}
    1.31 +	@echo xpdf $@
    1.32 +	@xpdf -fullscreen -z page ${OBJ}
    1.33 +	#@rm ${OBJ}
    1.34 +
    1.35 +clean:
    1.36 +	echo 'cleaning ...'
    1.37 +	rm *.{aux,lof,log,lot,nav,out,snm,toc} 2> /dev/null
    1.38 +
    1.39 +.PHONY: all xpdf clean