diff Makefile @ 0:fd91829df761

initial commit
author meillo@marmaro.de
date Sun, 02 Sep 2007 13:46:18 +0200
parents
children fabdbea53cc0
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Sun Sep 02 13:46:18 2007 +0200
@@ -0,0 +1,36 @@
+# Makefile for latex docs
+
+SRC = Reisebericht-Ukraine07.tex
+OBJ = ${SRC:.tex=.pdf}
+
+
+all:
+	pdflatex Reisebericht-Ukraine07.tex
+
+#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
+
+
+#all: ${OBJ}
+
+#.tex.pdf:
+#	@echo pdflatex $<
+#	@pdflatex $<
+
+${OBJ}: ${SRC}
+	@echo pdflatex $@
+	@pdflatex ${SRC}
+	@pdflatex ${SRC}
+
+xpdf: ${OBJ}
+	@echo xpdf $@
+	@xpdf -fullscreen -z page ${OBJ}
+	#@rm ${OBJ}
+
+clean:
+	echo 'cleaning ...'
+	rm *.{aux,lof,log,lot,nav,out,snm,toc} 2> /dev/null
+
+.PHONY: all xpdf clean