mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-01 23:20:12 +01:00
Don't include generated documentation in the tarball
Building it unconditionally causes problems for minimal installations (OSTree), and building it opportunistically means the tarball isn't guaranteed to contain it, depending who releases libdbus and which packages they happen to have installed at the time. If this documentation is important enough that we need to ship it precompiled in tarballs, we should guarantee it; or if it isn't important enough to justify that, we should just drop it. I don't think we really need it in the tarballs at all: most users will get their libdbus from a binary distribution (in which case I expect the distribution's dbus maintainers to set appropriate build-dependencies), and those who build from source can either install xmlto, read the documentation on our website, or at worst, read the source XML. (We don't put the Doxygen-generated API reference HTML in the tarball either, and I haven't heard any complaints.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=55426 Reviewed-by: Colin Walters <walters@verbum.org>
This commit is contained in:
parent
b8b3feb986
commit
16d0564f30
1 changed files with 2 additions and 4 deletions
|
|
@ -66,9 +66,7 @@ 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)
|
||||
html_DATA += $(XMLTO_OUTPUT)
|
||||
|
||||
dbus-specification.html: dbus-specification.xml
|
||||
$(XMLTO) html-nochunks $<
|
||||
|
|
@ -132,7 +130,7 @@ BONUS_FILES = \
|
|||
$(top_srcdir)/COPYING \
|
||||
$(top_srcdir)/ChangeLog
|
||||
|
||||
dbus-docs: $(STATIC_DOCS) $(dist_doc_DATA) $(dist_html_DATA) $(MAN_HTML_FILES) $(BONUS_FILES) doxygen.stamp
|
||||
dbus-docs: $(STATIC_DOCS) $(dist_doc_DATA) $(dist_html_DATA) $(MAN_HTML_FILES) $(BONUS_FILES) doxygen.stamp $(XMLTO_OUTPUT)
|
||||
$(AM_V_at)rm -rf $@ $@.tmp
|
||||
$(AM_V_GEN)$(MKDIR_P) $@.tmp/api
|
||||
$(AM_V_at)cd $(srcdir) && cp $(STATIC_DOCS) @abs_builddir@/$@.tmp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue