diff --git a/gio/Makefile.am b/gio/Makefile.am index 560251fb6..bdbbf6004 100644 --- a/gio/Makefile.am +++ b/gio/Makefile.am @@ -101,10 +101,10 @@ gdbus_sources = \ # These are not built into the library yet EXTRA_DIST += gdbusdaemon.c gdbusdaemon.h -gdbus-daemon-generated.h gdbus-daemon-generated.c : dbus-daemon.xml Makefile $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen +gdbus-daemon-generated.h gdbus-daemon-generated.c : dbus-daemon.xml $(srcdir)/gdbus-2.0/codegen/gdbus-codegen.in $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \ UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \ - $(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \ + $(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen.in \ --interface-prefix org. \ --generate-c-code gdbus-daemon-generated \ --c-namespace _G \