From a4be570c620e6de0a904e504538447cf5f1ea0db Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 15 Jul 2015 16:39:25 -0400 Subject: [PATCH] docs: Add generated D-Bus interfaces --- Makefile-daemon.am | 1 + doc/Makefile.am | 8 ++++++++ doc/{rpmostree-docs.xml => rpmostree-docs.xml.in} | 7 +++++++ 3 files changed, 16 insertions(+) rename doc/{rpmostree-docs.xml => rpmostree-docs.xml.in} (66%) diff --git a/Makefile-daemon.am b/Makefile-daemon.am index ddd0cefe..b7135ea0 100644 --- a/Makefile-daemon.am +++ b/Makefile-daemon.am @@ -9,6 +9,7 @@ rpm-ostreed-generated.c: Makefile.am $(top_srcdir)/src/daemon/org.projectatomic. --c-namespace RPMOSTree \ --c-generate-object-manager \ --generate-c-code rpm-ostreed-generated \ + --generate-docbook rpm-ostreed-generated \ $(top_srcdir)/src/daemon/org.projectatomic.rpmostree1.xml \ $(NULL) BUILT_SOURCES += $(dbus_built_sources) diff --git a/doc/Makefile.am b/doc/Makefile.am index 83d55a9e..49614ac4 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -96,8 +96,16 @@ GTKDOC_LIBS= rpmostree-sections.txt: $(srcdir)/rpmostree-sections.txt cp $< $@ +$(DOC_MAIN_SGML_FILE): $(DOC_MAIN_SGML_FILE).in + sed -e 's|\@SRCDIR\@|$(top_srcdir)|g' $< > $(@) + version.xml: echo -n $(VERSION) > "$@" +BUILT_SOURCES = $(DOC_MAIN_SGML_FILE) + # This includes the standard gtk-doc make rules, copied by gtkdocize. include $(top_srcdir)/gtk-doc.make + +CLEANFILES += $(BUILT_SOURCES) +EXTRA_DIST += $(DOC_MAIN_SGML_FILE).in diff --git a/doc/rpmostree-docs.xml b/doc/rpmostree-docs.xml.in similarity index 66% rename from doc/rpmostree-docs.xml rename to doc/rpmostree-docs.xml.in index 05932441..1aeaba64 100644 --- a/doc/rpmostree-docs.xml +++ b/doc/rpmostree-docs.xml.in @@ -21,4 +21,11 @@ + + + D-Bus Interfaces + + + +