OSDN Git Service

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:11:07 +0000 (14:11 +0200)
commit9b588b3e46f08ae4f79f75cc9a8b749c2fba8f9d
tree362f05801c858b456a46780edf0521e402a9adcc
parentd47f4c4ce6f538eeaca31e2b8e0b394c75851447
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
(cherry picked from commit 88bfc9b289e2b40bd7bff94dcdb06eb0b7b53f67)
gio/Makefile.am