]> hackdaworld.org Git - lectures/latex.git/commitdiff
added Makefile for posic talks
authorhackbard <hackbard@sage.physik.uni-augsburg.de>
Mon, 11 Feb 2008 13:10:03 +0000 (14:10 +0100)
committerhackbard <hackbard@sage.physik.uni-augsburg.de>
Mon, 11 Feb 2008 13:10:03 +0000 (14:10 +0100)
posic/talks/Makefile [new file with mode: 0644]

diff --git a/posic/talks/Makefile b/posic/talks/Makefile
new file mode 100644 (file)
index 0000000..96878c9
--- /dev/null
@@ -0,0 +1,22 @@
+# Makefile
+LATEX = latex
+DVIPS = dvips -tlandscape
+PS2PDF = ps2pdf
+
+SRC := $(shell ls *.tex)
+PDF = $(SRC:%.tex=%.pdf)
+
+all: $(PDF)
+
+%.dvi: %.tex
+       $(LATEX) $< $@
+       $(LATEX) $< $@
+
+%.ps: %.dvi
+       $(DVIPS) $<
+
+%.pdf: %.ps
+       $(PS2PDF) $<
+       
+clean:
+       rm -f *.log *.aux