summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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