summaryrefslogtreecommitdiff
path: root/ebus-xml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ebus-xml/Makefile')
-rw-r--r--ebus-xml/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/ebus-xml/Makefile b/ebus-xml/Makefile
new file mode 100644
index 0000000..5b01ebb
--- /dev/null
+++ b/ebus-xml/Makefile
@@ -0,0 +1,14 @@
+all: doc
+
+clean:
+ rm -r build
+
+doc:
+ test -d build || mkdir build
+ xsltproc transform/ebus.docbook.xslt ebus.xml > build/ebus.docbook.xml
+ dblatex -T db2latex build/ebus.docbook.xml
+
+dist: doc
+ mkdir -p dist/`date --rfc-3339=date`
+ cp build/ebus.docbook.pdf dist/`date --rfc-3339=date`
+