From 1be098611ebeee171991e50571574a6e13388df4 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 13 Jan 2011 18:38:43 +0000 Subject: [PATCH] Build dbus.devhelp using doxygen_to_devhelp.xsl and install it Bug: https://bugs.freedesktop.org/show_bug.cgi?id=13495 --- doc/.gitignore | 1 + doc/Makefile.am | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/doc/.gitignore b/doc/.gitignore index fd19357..c26fd2d 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 497ba80..28b2ddf 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 -- 2.7.4