diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2016-08-14 19:25:26 +0200 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2016-08-14 19:25:26 +0200 |
commit | caae83f445935c06cd6aef36f283a4688675278a (patch) | |
tree | 5e63cbfd2877195430a8657dcd75f42b6a4d7110 /ebus-xml/Makefile | |
download | ebus-caae83f445935c06cd6aef36f283a4688675278a.tar.gz ebus-caae83f445935c06cd6aef36f283a4688675278a.zip |
refactored ebus code
Diffstat (limited to 'ebus-xml/Makefile')
-rw-r--r-- | ebus-xml/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ebus-xml/Makefile b/ebus-xml/Makefile new file mode 100644 index 0000000..1a8f4fc --- /dev/null +++ b/ebus-xml/Makefile @@ -0,0 +1,16 @@ +TARGET_DIST=dist/$(shell date --rfc-3339=date) + +all: doc + +doc: + test -d build || mkdir build + xsltproc ebus.docbook.xslt ebus.xml > build/ebus.docbook.xml + dblatex -T db2latex build/ebus.docbook.xml + +dist: doc + test -d $(TARGET_DIST) || mkdir -p $(TARGET_DIST) + cp build/ebus.docbook.pdf $(TARGET_DIST) + cp ebus.xml $(TARGET_DIST) + +validate: + xmllint --noout --schema ebus-0.1.xsd ebus.xml |