From f34908ef1555c8c579b0154e17932b84af04b81f Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Wed, 5 Oct 2011 12:33:55 -0400 Subject: [PATCH] GDBus: Regenerate code when the codegen or options passed to it changes https://bugzilla.gnome.org/show_bug.cgi?id=660498 Signed-off-by: David Zeuthen --- gio/gdbus-2.0/codegen/Makefile.am | 2 +- gio/tests/Makefile.am | 2 +- gio/tests/gdbus-object-manager-example/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gio/gdbus-2.0/codegen/Makefile.am b/gio/gdbus-2.0/codegen/Makefile.am index 145ccba..cd9983e 100644 --- a/gio/gdbus-2.0/codegen/Makefile.am +++ b/gio/gdbus-2.0/codegen/Makefile.am @@ -22,7 +22,7 @@ bin_SCRIPTS += gdbus-codegen CLEANFILES += gdbus-codegen EXTRA_DIST += gdbus-codegen.in -gdbus-codegen: gdbus-codegen.in Makefile +gdbus-codegen: gdbus-codegen.in Makefile $(codegen_PYTHON) $(AM_V_GEN) sed -e 's,@libdir\@,$(libdir),' $< > $@.tmp && mv $@.tmp $@ @chmod a+x $@ diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am index 8acc4db..867b18a 100644 --- a/gio/tests/Makefile.am +++ b/gio/tests/Makefile.am @@ -267,7 +267,7 @@ gdbus_close_pending_SOURCES = gdbus-close-pending.c gdbus-sessionbus.c gdbus-ses gdbus_close_pending_LDADD = $(progs_ldadd) if OS_UNIX -gdbus-test-codegen-generated.h gdbus-test-codegen-generated.c : test-codegen.xml +gdbus-test-codegen-generated.h gdbus-test-codegen-generated.c : test-codegen.xml Makefile $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \ UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \ $(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \ diff --git a/gio/tests/gdbus-object-manager-example/Makefile.am b/gio/tests/gdbus-object-manager-example/Makefile.am index 5e6eb9a..9861d0e 100644 --- a/gio/tests/gdbus-object-manager-example/Makefile.am +++ b/gio/tests/gdbus-object-manager-example/Makefile.am @@ -21,7 +21,7 @@ GDBUS_GENERATED = \ gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Cat.xml \ $(NULL) -$(GDBUS_GENERATED) : gdbus-example-objectmanager.xml +$(GDBUS_GENERATED) : gdbus-example-objectmanager.xml Makefile $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \ UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \ $(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \ -- 2.7.4