annotate Makefile @ 1:aa6f8b1bab77

added latex document and Makefile; tpp version is deprecated now
author meillo@marmaro.de
date Mon, 26 Nov 2007 12:23:46 +0100
parents
children 7adaf386e4ff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
1 # Makefile for latex docs
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
2 # by meillo@marmaro.de
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
3 #
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
4
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
5
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
6 SRC = GimmeShellter.tex
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
7 #OBJ = ${SRC:.tex:.pdf}
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
8 OBJ = GimmeShellter.pdf
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
9 PDFLATEX = pdflatex
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
10
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
11
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
12 all: ${OBJ}
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
13
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
14
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
15 #.tex.pdf:
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
16 ${OBJ}: ${SRC}
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
17 @echo generating $<
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
18 @${PDFLATEX} $<
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
19
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
20
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
21 dist: realclean
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
22 # generate 3 times for correct toc and pagenumbers
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
23 ${MAKE} all
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
24 ${MAKE} rmpdf
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
25 ${MAKE} all
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
26 ${MAKE} rmpdf
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
27 ${MAKE} all
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
28
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
29
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
30 clean:
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
31 @echo 'cleaning ...'
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
32 @rm -f *.{aux,lof,log,lot,nav,out,snm,toc}
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
33
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
34 rmpdf:
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
35 @echo 'removing PDFs ...'
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
36 @rm -f *.pdf
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
37
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
38 realclean: clean rmpdf
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
39
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
40 xpdf: all
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
41 xpdf -z page ${OBJ} &
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
42
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
43
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
44 .PHONY: all xpdf dist clean realclean rmpdf
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
45 .SUFFIXES: .tex .pdf
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
46
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
47
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
48 #merge:
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
49 # rm -f all.pdf
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
50 # pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
51 # pdftk *.pdf cat output all.pdf
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
52
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
53 #xpdf: ${OBJ}
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
54 # @echo xpdf $@
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
55 # @xpdf -fullscreen -z page ${OBJ} &
aa6f8b1bab77 added latex document and Makefile; tpp version is deprecated now
meillo@marmaro.de
parents:
diff changeset
56 # #@rm ${OBJ}