docs/Reisebericht-Ukraine07
annotate Makefile @ 13:9785f495c3cf
added 2007-08-26
author | meillo@marmaro.de |
---|---|
date | Fri, 07 Sep 2007 22:25:47 +0200 |
parents | |
children | fabdbea53cc0 |
rev | line source |
---|---|
meillo@0 | 1 # Makefile for latex docs |
meillo@0 | 2 |
meillo@0 | 3 SRC = Reisebericht-Ukraine07.tex |
meillo@0 | 4 OBJ = ${SRC:.tex=.pdf} |
meillo@0 | 5 |
meillo@0 | 6 |
meillo@0 | 7 all: |
meillo@0 | 8 pdflatex Reisebericht-Ukraine07.tex |
meillo@0 | 9 |
meillo@0 | 10 #merge: |
meillo@0 | 11 # rm -f all.pdf |
meillo@0 | 12 # pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf |
meillo@0 | 13 # pdftk *.pdf cat output all.pdf |
meillo@0 | 14 |
meillo@0 | 15 |
meillo@0 | 16 #all: ${OBJ} |
meillo@0 | 17 |
meillo@0 | 18 #.tex.pdf: |
meillo@0 | 19 # @echo pdflatex $< |
meillo@0 | 20 # @pdflatex $< |
meillo@0 | 21 |
meillo@0 | 22 ${OBJ}: ${SRC} |
meillo@0 | 23 @echo pdflatex $@ |
meillo@0 | 24 @pdflatex ${SRC} |
meillo@0 | 25 @pdflatex ${SRC} |
meillo@0 | 26 |
meillo@0 | 27 xpdf: ${OBJ} |
meillo@0 | 28 @echo xpdf $@ |
meillo@0 | 29 @xpdf -fullscreen -z page ${OBJ} |
meillo@0 | 30 #@rm ${OBJ} |
meillo@0 | 31 |
meillo@0 | 32 clean: |
meillo@0 | 33 echo 'cleaning ...' |
meillo@0 | 34 rm *.{aux,lof,log,lot,nav,out,snm,toc} 2> /dev/null |
meillo@0 | 35 |
meillo@0 | 36 .PHONY: all xpdf clean |