[glib] build: Add gdbus-codegen files as dependencies in generated code rule
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] build: Add gdbus-codegen files as dependencies in generated code rule
- Date: Wed, 11 Oct 2017 09:35:22 +0000 (UTC)
commit a71f51dece83b3da7e8fe284f4383592fba4d184
Author: Cor-Paul Bezemer <bezemer cs queensu ca>
Date: Fri Jul 10 17:50:00 2015 +0000
build: Add gdbus-codegen files as dependencies in generated code rule
So gdbus-daemon-generated.[ch] get regenerated appropriately if any of
them change.
https://bugzilla.gnome.org/show_bug.cgi?id=752239
gio/Makefile.am | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/gio/Makefile.am b/gio/Makefile.am
index b2db995..d2711e1 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -92,7 +92,18 @@ gdbus_sources = \
# These are not built into the library yet
EXTRA_DIST += gdbusdaemon.c gdbusdaemon.h dbus-daemon.xml
-gdbus-daemon-generated.h gdbus-daemon-generated.c: $(srcdir)/dbus-daemon.xml
$(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in
+GDBUS_PYTHON_DEPS = \
+ $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in \
+ $(srcdir)/gdbus-2.0/codegen/codegen_main.py \
+ $(srcdir)/gdbus-2.0/codegen/parser.py \
+ $(srcdir)/gdbus-2.0/codegen/codegen_docbook.py \
+ $(srcdir)/gdbus-2.0/codegen/codegen.py \
+ $(srcdir)/gdbus-2.0/codegen/__init__.py \
+ $(srcdir)/gdbus-2.0/codegen/dbustypes.py \
+ $(srcdir)/gdbus-2.0/codegen/config.py \
+ $(srcdir)/gdbus-2.0/codegen/utils.py
+
+gdbus-daemon-generated.h gdbus-daemon-generated.c: $(srcdir)/dbus-daemon.xml $(GDBUS_PYTHON_DEPS)
$(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
$(PYTHON) $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]