Install dbus.devhelp to $(htmldir), not $(apidir), and remove it in clean
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 12 Apr 2011 11:54:22 +0000 (12:54 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 18 Jul 2011 18:23:45 +0000 (19:23 +0100)
It needs to be in $(htmldir) so that its relative paths will work.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36156
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
doc/Makefile.am

index 11f756d..e402779 100644 (file)
@@ -46,6 +46,8 @@ EXTRA_DIST = \
        $(STATIC_DOCS) \
        $(MAN_IN_FILES)
 
+html_DATA =
+
 HTML_FILES=                                    \
        dbus-faq.html                           \
        dbus-specification.html                 \
@@ -79,7 +81,7 @@ doxygen.stamp: $(wildcard $(top_srcdir)/dbus/*.[ch])
        @touch $@
 
 if DBUS_HAVE_XSLTPROC
-api_DATA = dbus.devhelp
+html_DATA += dbus.devhelp
 
 dbus.devhelp: $(srcdir)/doxygen_to_devhelp.xsl doxygen.stamp
        $(XSLTPROC) -o $@ $< api/xml/index.xml
@@ -147,6 +149,7 @@ maintainer-upload-docs:
 endif
 
 clean-local:
+       rm -f $(html_DATA)
        rm -rf api
        rm -rf dbus-docs
        rm -f *.1.html