summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-01-13 18:38:43 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-01-14 12:46:01 +0000
commit1be098611ebeee171991e50571574a6e13388df4 (patch)
treefb1897d68e170bda4c39810789d9971ab129592b
parentfbe8c192e2a53f61fde9bfd1a92a1c5876321781 (diff)
downloaddbus-1be098611ebeee171991e50571574a6e13388df4.tar.gz
Build dbus.devhelp using doxygen_to_devhelp.xsl and install it
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=13495
-rw-r--r--doc/.gitignore1
-rw-r--r--doc/Makefile.am7
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/.gitignore b/doc/.gitignore
index fd193572..c26fd2d0 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -7,6 +7,7 @@ Makefile.in
*.la
*.o
api
+dbus.devhelp
dbus-specification.html
dbus-test-plan.html
dbus-tutorial.html
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 497ba807..28b2ddfa 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -72,6 +72,13 @@ doxygen.stamp: $(wildcard $(top_srcdir)/dbus/*.[ch])
$(AM_V_GEN)cd $(top_builddir) && doxygen Doxyfile
@touch $@
+if DBUS_HAVE_XSLTPROC
+api_DATA = dbus.devhelp
+
+dbus.devhelp: $(srcdir)/doxygen_to_devhelp.xsl doxygen.stamp
+ $(XSLTPROC) -o $@ $< api/xml/index.xml
+endif
+
# this assumes CREATE_SUBDIRS isn't set to YES in Doxyfile
# (which it isn't currently)
install-data-local:: doxygen.stamp