Build dbus.devhelp using doxygen_to_devhelp.xsl and install it
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 13 Jan 2011 18:38:43 +0000 (18:38 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 14 Jan 2011 12:46:01 +0000 (12:46 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=13495

doc/.gitignore
doc/Makefile.am

index fd19357..c26fd2d 100644 (file)
@@ -7,6 +7,7 @@ Makefile.in
 *.la
 *.o
 api
+dbus.devhelp
 dbus-specification.html
 dbus-test-plan.html
 dbus-tutorial.html
index 497ba80..28b2ddf 100644 (file)
@@ -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