mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
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
This commit is contained in:
parent
12e32e96a3
commit
a71f51dece
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user