|
Packit |
8ea169 |
SPEC = org.freedesktop.Problems.xml.in
|
|
Packit |
8ea169 |
NS = org.freedesktop.Problems2
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
all: html/index.html
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
$(NS).xml: tools/spec-to-pure-dbus.xsl $(SPEC)
|
|
Packit |
8ea169 |
xsltproc --stringparam interface $$(basename $@ .xml) $^ > $@
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
$(NS).Entry.xml: tools/spec-to-pure-dbus.xsl $(SPEC)
|
|
Packit |
8ea169 |
xsltproc --stringparam interface $$(basename $@ .xml) $^ > $@
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
$(NS).Session.xml: tools/spec-to-pure-dbus.xsl $(SPEC)
|
|
Packit |
8ea169 |
xsltproc --stringparam interface $$(basename $@ .xml) $^ > $@
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
$(NS).Task.xml: tools/spec-to-pure-dbus.xsl $(SPEC)
|
|
Packit |
8ea169 |
xsltproc --stringparam interface $$(basename $@ .xml) $^ > $@
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
specification.xml: specification.xml.in
|
|
Packit |
8ea169 |
cp $< $@
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
# Don't use 'xmlto xhtml' -> https://plus.google.com/115547683951727699051/posts/bigvpEke9PN
|
|
Packit |
8ea169 |
html/index.html: reference.xml docbook-params.xsl specification.xml
|
|
Packit |
8ea169 |
xmlto html --skip-validation -o html/ -x docbook-params.xsl specification.xml
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
html/ch01.html: html/index.html
|
|
Packit |
8ea169 |
html/ch02.html: html/index.html
|
|
Packit |
8ea169 |
html/pt01.html: html/index.html
|
|
Packit |
8ea169 |
html/re01.html: html/index.html
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
reference.xml: tools/spec-to-docbook.xsl $(SPEC)
|
|
Packit |
8ea169 |
xsltproc $^ > $@
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
dbusabrtinterfacesdir = ${dbusinterfacedir}
|
|
Packit |
8ea169 |
dist_dbusabrtinterfaces_DATA = $(NS).xml $(NS).Entry.xml $(NS).Session.xml $(NS).Task.xml
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html
|
|
Packit |
8ea169 |
dist_dbusabrtdoc_DATA = html/style.css
|
|
Packit |
8ea169 |
dbusabrtdoc_DATA = html/index.html \
|
|
Packit |
8ea169 |
html/ch01.html \
|
|
Packit |
8ea169 |
html/ch02.html \
|
|
Packit |
8ea169 |
html/pt01.html \
|
|
Packit |
8ea169 |
html/re01.html
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
EXTRA_DIST = specification.xml.in \
|
|
Packit |
8ea169 |
$(SPEC) \
|
|
Packit |
8ea169 |
docbook-params.xsl \
|
|
Packit |
8ea169 |
html \
|
|
Packit |
8ea169 |
html/style.css \
|
|
Packit |
8ea169 |
tools \
|
|
Packit |
8ea169 |
tools/*
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
CLEANFILES = $(dist_dbusabrtinterfaces_DATA) reference.xml html/*.html html/specification.proc
|