win32: Fix build of gdbus-daemon-generated.[ch]
authorAlexander Larsson <alexl@redhat.com>
Tue, 24 Apr 2012 12:03:38 +0000 (14:03 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 24 Apr 2012 12:09:54 +0000 (14:09 +0200)
commit88bfc9b289e2b40bd7bff94dcdb06eb0b7b53f67
treee54e4674c10b5f07b5f9a3fffd09737ee8c68125
parent2c0756ea0e118deece4b797d15c2462db48191ed
win32: Fix build of gdbus-daemon-generated.[ch]

gdbus-daemon-generated.[ch] failed to build because it depended
on gdbus-2.0/codegen/gdbus-codegen which was build during the SUBDIRS part
of the build, however SUBDIRS are done *after* processing BUILT_SOURCES,
and these files are in BUILT_SOURCES.

The fix is simple, instead of running the gdbus-codegen code we
run the gdbus-codegen.in code, which works fine for uninstalled execution.

I also removed Makefile from the dependencies to avoid rebuilding the file
in tarballs, as Makefiles are written at configure time. We should be able to
ship the prebuilt files in the tarballs.
When running uninstalled
gio/Makefile.am