build: install the D-Bus introspection data

This would make it easier to develop against NetworkManager D-Bus API.
This commit is contained in:
Lubomir Rintel 2016-11-23 14:03:51 +01:00
parent 972e0d2803
commit 88f3f29882
2 changed files with 10 additions and 4 deletions

View File

@ -295,11 +295,9 @@ introspection/%.h: introspection/%.c
docs/api/dbus-%.xml: introspection/%.c
$()
BUILT_SOURCES += \
$(introspection_sources) \
$(DBUS_INTERFACE_DOCS)
dbusinterfacesdir = $(datadir)/dbus-1/interfaces
EXTRA_DIST += \
dbusinterfaces_DATA = \
introspection/org.freedesktop.NetworkManager.AccessPoint.xml \
introspection/org.freedesktop.NetworkManager.Connection.Active.xml \
introspection/org.freedesktop.NetworkManager.AgentManager.xml \
@ -337,6 +335,13 @@ EXTRA_DIST += \
introspection/org.freedesktop.NetworkManager.VPN.Plugin.xml \
introspection/org.freedesktop.NetworkManager.WiMax.Nsp.xml
BUILT_SOURCES += \
$(introspection_sources) \
$(DBUS_INTERFACE_DOCS)
EXTRA_DIST += \
$(dbusinterfaces_DATA)
###############################################################################
libnm_core_lib_h_pub_real = \

View File

@ -639,6 +639,7 @@ fi
%{_datadir}/gtk-doc/html/libnm/*
%{_datadir}/vala/vapi/libnm.deps
%{_datadir}/vala/vapi/libnm.vapi
%{_datadir}/dbus-1/interfaces/*.xml
%files config-connectivity-fedora
%dir %{nmlibdir}