summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-14 17:53:58 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-14 17:53:58 +0100
commit24f60c17c394035bf7e99c4c43ef9d050fccc022 (patch)
tree547a0ea9b255e2a2376604597aa52cb46bcef2b0 /Makefile
downloadmmswe-24f60c17c394035bf7e99c4c43ef9d050fccc022.tar.gz
mmswe-24f60c17c394035bf7e99c4c43ef9d050fccc022.tar.bz2
mmswe-24f60c17c394035bf7e99c4c43ef9d050fccc022.zip
Start Projekt Dokumentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..6b68013
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,34 @@
+DBLATEX_OPTS="-P latex.encoding=utf8 -P latex.output.revhistory=0 -P doc.publisher.show=0 -P latex.class.options=a4paper,12pt,abstraction,titlepage -b xetex"
+
+.PHONY: all clean up
+all: projekt_doku.pdf
+
+#.SUFFIXES: .asciidoc .html
+#presentation.html: presentation.asciidoc
+# asciidoc --out-file=$@.tmp --backend=slidy $<
+# sed -f fix-css.sed $@.tmp > $@
+# rm $@.tmp
+#
+#.asciidoc.html:
+# asciidoc --out-file=$@ --backend=html $<
+#
+#.SUFFIXES: .asciidoc .tex
+#.asciidoc.tex:
+# asciidoc --backend=latex $<
+
+.SUFFIXES: .asciidoc .pdf
+projekt_doku.pdf: projekt_doku.asciidoc hsw.sty
+ a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) --dblatex-opts="-s hsw.sty" $<
+
+.asciidoc.pdf:
+ a2x.py -f pdf --dblatex-opts=$(DBLATEX_OPTS) $<
+
+#.SUFFIXES: .dia .svg
+#.dia.svg:
+# @dia --export=$@ --filter=svg $<
+#
+#up: document.html presentation.html
+# scp -r document.html presentation.html image klemkow.net:www
+#
+clean:
+ rm -f document.html presentation.html document.pdf ${GenSVG}