docs: Add generated D-Bus interfaces

This commit is contained in:
Matthew Barnes 2015-07-15 16:39:25 -04:00
parent 915b78e2aa
commit a4be570c62
3 changed files with 16 additions and 0 deletions

View File

@ -9,6 +9,7 @@ rpm-ostreed-generated.c: Makefile.am $(top_srcdir)/src/daemon/org.projectatomic.
--c-namespace RPMOSTree \ --c-namespace RPMOSTree \
--c-generate-object-manager \ --c-generate-object-manager \
--generate-c-code rpm-ostreed-generated \ --generate-c-code rpm-ostreed-generated \
--generate-docbook rpm-ostreed-generated \
$(top_srcdir)/src/daemon/org.projectatomic.rpmostree1.xml \ $(top_srcdir)/src/daemon/org.projectatomic.rpmostree1.xml \
$(NULL) $(NULL)
BUILT_SOURCES += $(dbus_built_sources) BUILT_SOURCES += $(dbus_built_sources)

View File

@ -96,8 +96,16 @@ GTKDOC_LIBS=
rpmostree-sections.txt: $(srcdir)/rpmostree-sections.txt rpmostree-sections.txt: $(srcdir)/rpmostree-sections.txt
cp $< $@ cp $< $@
$(DOC_MAIN_SGML_FILE): $(DOC_MAIN_SGML_FILE).in
sed -e 's|\@SRCDIR\@|$(top_srcdir)|g' $< > $(@)
version.xml: version.xml:
echo -n $(VERSION) > "$@" echo -n $(VERSION) > "$@"
BUILT_SOURCES = $(DOC_MAIN_SGML_FILE)
# This includes the standard gtk-doc make rules, copied by gtkdocize. # This includes the standard gtk-doc make rules, copied by gtkdocize.
include $(top_srcdir)/gtk-doc.make include $(top_srcdir)/gtk-doc.make
CLEANFILES += $(BUILT_SOURCES)
EXTRA_DIST += $(DOC_MAIN_SGML_FILE).in

View File

@ -21,4 +21,11 @@
</index> </index>
</chapter> </chapter>
<chapter>
<title>D-Bus Interfaces</title>
<xi:include href="@SRCDIR@/rpm-ostreed-generated-org.projectatomic.rpmostree1.Sysroot.xml"/>
<xi:include href="@SRCDIR@/rpm-ostreed-generated-org.projectatomic.rpmostree1.OS.xml"/>
<xi:include href="@SRCDIR@/rpm-ostreed-generated-org.projectatomic.rpmostree1.Transaction.xml"/>
</chapter>
</book> </book>