docs/gimme-shellter

view Makefile @ 5:52725a5ea7d9

added extract-urls.sh; rewrote summary; some minor changes
author meillo@marmaro.de
date Thu, 06 Dec 2007 21:16:19 +0100
parents
children 7adaf386e4ff
line source
1 # Makefile for latex docs
2 # by meillo@marmaro.de
3 #
6 SRC = GimmeShellter.tex
7 #OBJ = ${SRC:.tex:.pdf}
8 OBJ = GimmeShellter.pdf
9 PDFLATEX = pdflatex
12 all: ${OBJ}
15 #.tex.pdf:
16 ${OBJ}: ${SRC}
17 @echo generating $<
18 @${PDFLATEX} $<
21 dist: realclean
22 # generate 3 times for correct toc and pagenumbers
23 ${MAKE} all
24 ${MAKE} rmpdf
25 ${MAKE} all
26 ${MAKE} rmpdf
27 ${MAKE} all
30 clean:
31 @echo 'cleaning ...'
32 @rm -f *.{aux,lof,log,lot,nav,out,snm,toc}
34 rmpdf:
35 @echo 'removing PDFs ...'
36 @rm -f *.pdf
38 realclean: clean rmpdf
40 xpdf: all
41 xpdf -z page ${OBJ} &
44 .PHONY: all xpdf dist clean realclean rmpdf
45 .SUFFIXES: .tex .pdf
48 #merge:
49 # rm -f all.pdf
50 # pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf
51 # pdftk *.pdf cat output all.pdf
53 #xpdf: ${OBJ}
54 # @echo xpdf $@
55 # @xpdf -fullscreen -z page ${OBJ} &
56 # #@rm ${OBJ}