From: hackbard Date: Mon, 11 Feb 2008 13:10:03 +0000 (+0100) Subject: added Makefile for posic talks X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfb824a1dbaf87f986c020102dd1bca42d94e938;p=lectures%2Flatex.git added Makefile for posic talks --- diff --git a/posic/talks/Makefile b/posic/talks/Makefile new file mode 100644 index 0000000..96878c9 --- /dev/null +++ b/posic/talks/Makefile @@ -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