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