docs/Topcased-Praesentation
diff Makefile @ 0:d00c2801fda3
initial commit; added usecases; added generating
author | meillo@marmaro.de |
---|---|
date | Sun, 20 Jan 2008 21:46:18 +0100 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Sun Jan 20 21:46:18 2008 +0100 1.3 @@ -0,0 +1,56 @@ 1.4 +# Makefile for latex docs 1.5 +# by meillo@marmaro.de 1.6 +# 1.7 +# Attention: needs GNUmake for patsubst and wildcard 1.8 + 1.9 + 1.10 +SRC = topcased.tex 1.11 +OBJ = topcased.pdf 1.12 +PDFLATEX = pdflatex 1.13 + 1.14 + 1.15 +all: ${OBJ} 1.16 + 1.17 + 1.18 +#.tex.pdf: 1.19 +%.pdf: %.tex 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 *.pdf 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}