From eba8e555437c63b3f3976c96a56bce13a0b26298 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 24 Mar 2017 17:57:21 -0400 Subject: [PATCH] build: Fix Makefile dependency for gdbus-codegen Also add a comment about enabling autoptr in the future. Closes: #705 Approved by: jlebon --- Makefile-daemon.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile-daemon.am b/Makefile-daemon.am index 0d564e28..1a360825 100644 --- a/Makefile-daemon.am +++ b/Makefile-daemon.am @@ -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 \