summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-16 18:17:18 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-16 18:17:18 +0100
commit273038226cae28ad7f2170980ecccef719cc1296 (patch)
tree82f76811d46130acdc8f5e7c195d94c1d9422788
parent026cb669b4b0e85cd9655c19102a57e6337c8998 (diff)
downloadmmswe-273038226cae28ad7f2170980ecccef719cc1296.tar.gz
mmswe-273038226cae28ad7f2170980ecccef719cc1296.tar.bz2
mmswe-273038226cae28ad7f2170980ecccef719cc1296.zip
Makefile: Be compatible with BSD makeHEADmaster
-rw-r--r--Makefile10
1 files 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