build: Fix Makefile dependency for gdbus-codegen

Also add a comment about enabling autoptr in the future.

Closes: #705
Approved by: jlebon
This commit is contained in:
Colin Walters 2017-03-24 17:57:21 -04:00 committed by Atomic Bot
parent e666a5b350
commit eba8e55543

View File

@ -1,7 +1,9 @@
dbus_built_sources = rpm-ostreed-generated.h rpm-ostreed-generated.c
# TODO: Add --c-generate-autocleanup=all once we depend on GLib 2.50+
# https://github.com/projectatomic/rpm-ostree/pull/705
rpm-ostreed-generated.h: rpm-ostreed-generated.c
rpm-ostreed-generated.c: Makefile.am $(top_srcdir)/src/daemon/org.projectatomic.rpmostree1.xml
rpm-ostreed-generated.c: Makefile $(top_srcdir)/src/daemon/org.projectatomic.rpmostree1.xml
$(AM_V_GEN) gdbus-codegen \
--interface-prefix org.projectatomic.rpmostree1 \
--c-namespace RPMOSTree \