Mercurial > docs > gimme-shellter
view Makefile @ 6:1347b6d4e98e
modified hgignore
author | meillo@marmaro.de |
---|---|
date | Tue, 11 Dec 2007 09:55:41 +0100 |
parents | aa6f8b1bab77 |
children | 7adaf386e4ff |
line wrap: on
line source
# Makefile for latex docs # by meillo@marmaro.de # SRC = GimmeShellter.tex #OBJ = ${SRC:.tex:.pdf} OBJ = GimmeShellter.pdf PDFLATEX = pdflatex all: ${OBJ} #.tex.pdf: ${OBJ}: ${SRC} @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 ${OBJ} & .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}