annotate Makefile @ 0:fd91829df761

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