summaryrefslogtreecommitdiff
path: root/ebus-xml/Makefile
blob: a68ab02d0c3f3e147823a75e4ceade282f7babdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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`

validate:
	 xmllint --noout --schema ebus-0.1.xsd ebus.xml