From 273038226cae28ad7f2170980ecccef719cc1296 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 16 Jan 2013 18:17:18 +0100 Subject: Makefile: Be compatible with BSD make --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 65849f5..8c60a0f 100644 --- a/Makefile +++ b/Makefile @@ -8,13 +8,19 @@ EPSs=$(DIAs:.dia=.eps) .PHONY: all clean all: projekt_doku.pdf presentation.html -presentation.html: presentation.txt $(SVGs) $(PNGs) +.SUFFIXES: .txt .html +.txt.html: asciidoc --out-file=$@ --backend=slidy $< sed -i -f fix-css.sed $@ -projekt_doku.pdf: projekt_doku.asciidoc thesis.xsl thesis.sty $(SVGs) $(EPSs) +presentation.html: presentation.txt $(SVGs) $(PNGs) + +.SUFFIXES: .asciidoc .pdf +.asciidoc.pdf: a2x -f pdf $< +projekt_doku.pdf: projekt_doku.asciidoc thesis.xsl thesis.sty $(SVGs) $(EPSs) + .PHONY: pluggit pluggit: rm -f pluggit/pluggit -- cgit