build: Make --disable-xml-docs build work again

We can't build the .html files without xmlto, so don't add them
to a dist_ variable.

https://bugs.freedesktop.org/show_bug.cgi?id=55426
This commit is contained in:
Colin Walters 2012-01-08 12:11:11 -05:00
parent c7495461fe
commit e296f5c824

View file

@ -59,9 +59,6 @@ STATIC_HTML = \
dist_html_DATA += $(STATIC_HTML)
# we distribute these in the tarball so users don't necessarily need xmlto
dist_html_DATA += $(XMLTO_OUTPUT)
XMLTO_OUTPUT= \
dbus-faq.html \
dbus-specification.html \
@ -69,6 +66,10 @@ XMLTO_OUTPUT= \
dbus-tutorial.html
if DBUS_XML_DOCS_ENABLED
# we distribute these in the tarball so users don't necessarily need xmlto
dist_html_DATA += $(XMLTO_OUTPUT)
dbus-specification.html: dbus-specification.xml
$(XMLTO) html-nochunks $<