Mercurial > 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 wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Sun Jan 20 21:46:18 2008 +0100 @@ -0,0 +1,56 @@ +# Makefile for latex docs +# by meillo@marmaro.de +# +# Attention: needs GNUmake for patsubst and wildcard + + +SRC = topcased.tex +OBJ = topcased.pdf +PDFLATEX = pdflatex + + +all: ${OBJ} + + +#.tex.pdf: +%.pdf: %.tex + @echo generating $< + @${PDFLATEX} $< + + +dist: realclean + # generate 3 times for correct toc and pagenumbers + ${MAKE} all + ${MAKE} rmpdf + ${MAKE} all + ${MAKE} rmpdf + ${MAKE} all + + +clean: + @echo 'cleaning ...' + @rm -f *.{aux,lof,log,lot,nav,out,snm,toc} + +rmpdf: + @echo 'removing PDFs ...' + @rm -f *.pdf + +realclean: clean rmpdf + +xpdf: all + xpdf -z page *.pdf + + +.PHONY: all xpdf dist clean realclean rmpdf +.SUFFIXES: .tex .pdf + + +#merge: +# rm -f all.pdf +# pdftk A=00_vorstellung.pdf cat A1-2 output 00_vorstellung-mod.pdf && rm 00_vorstellung.pdf +# pdftk *.pdf cat output all.pdf + +#xpdf: ${OBJ} +# @echo xpdf $@ +# @xpdf -fullscreen -z page ${OBJ} & +# #@rm ${OBJ}