docs/gimme-shellter

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Mon Nov 26 12:23:46 2007 +0100
     1.3 @@ -0,0 +1,56 @@
     1.4 +# Makefile for latex docs
     1.5 +# by meillo@marmaro.de
     1.6 +#
     1.7 +
     1.8 +
     1.9 +SRC = GimmeShellter.tex
    1.10 +#OBJ = ${SRC:.tex:.pdf}
    1.11 +OBJ = GimmeShellter.pdf
    1.12 +PDFLATEX = pdflatex
    1.13 +
    1.14 +
    1.15 +all: ${OBJ}
    1.16 +
    1.17 +
    1.18 +#.tex.pdf:
    1.19 +${OBJ}: ${SRC}
    1.20 +	@echo generating $<
    1.21 +	@${PDFLATEX} $<
    1.22 +
    1.23 +
    1.24 +dist: realclean
    1.25 +	# generate 3 times for correct toc and pagenumbers
    1.26 +	${MAKE} all
    1.27 +	${MAKE} rmpdf
    1.28 +	${MAKE} all
    1.29 +	${MAKE} rmpdf
    1.30 +	${MAKE} all
    1.31 +
    1.32 +
    1.33 +clean:
    1.34 +	@echo 'cleaning ...'
    1.35 +	@rm -f *.{aux,lof,log,lot,nav,out,snm,toc}
    1.36 +
    1.37 +rmpdf:
    1.38 +	@echo 'removing PDFs ...'
    1.39 +	@rm -f *.pdf
    1.40 +
    1.41 +realclean: clean rmpdf
    1.42 +
    1.43 +xpdf: all
    1.44 +	xpdf -z page ${OBJ} &
    1.45 +
    1.46 +
    1.47 +.PHONY: all xpdf dist clean realclean rmpdf
    1.48 +.SUFFIXES: .tex .pdf
    1.49 +
    1.50 +
    1.51 +#merge:
    1.52 +#	rm -f all.pdf
    1.53 +#	pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf
    1.54 +#	pdftk *.pdf cat output all.pdf
    1.55 +
    1.56 +#xpdf: ${OBJ}
    1.57 +#	@echo xpdf $@
    1.58 +#	@xpdf -fullscreen -z page ${OBJ} &
    1.59 +#	#@rm ${OBJ}