[Spice-commits] gtk/Makefile.am

Marc-André Lureau elmarco at kemper.freedesktop.org
Tue Jan 17 08:10:21 PST 2012


 gtk/Makefile.am |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit e353b220a5939659005d3120b8da50465212acf1
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Tue Jan 17 16:48:05 2012 +0100

    build: allow out-of-tree building of python bindings

diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index f919aab..043e48f 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -546,10 +546,12 @@ CODEGENDIR = `pkg-config --variable=codegendir pygtk-2.0`
 DEFSDIR = `pkg-config --variable=defsdir pygtk-2.0`
 
 spice-client-gtk.defs: $(libspice_client_gtkinclude_HEADERS) $(nodist_libspice_client_gtkinclude_HEADERS) $(libspice_client_glibinclude_HEADERS) $(nodist_libspice_client_glibinclude_HEADERS)
-	$(AM_V_GEN)$(PYTHON) $(CODEGENDIR)/h2def.py -f spice-client-gtk-manual.defs $(libspice_client_gtkinclude_HEADERS) $(nodist_libspice_client_gtkinclude_HEADERS) $(libspice_client_glibinclude_HEADERS) $(nodist_libspice_client_glibinclude_HEADERS) > $@
+	$(AM_V_GEN)$(PYTHON) $(CODEGENDIR)/h2def.py \
+		-f $(srcdir)/spice-client-gtk-manual.defs \
+		$^ > $@
 
 spice-client-gtk-module.defs.c: spice-client-gtk.override spice-client-gtk.defs spice-client-gtk-manual.defs
-	@cat $(srcdir)/spice-client-gtk.defs $(srcdir)/spice-client-gtk-manual.defs > tmp.defs
+	@cat spice-client-gtk.defs $(srcdir)/spice-client-gtk-manual.defs > tmp.defs
 	$(AM_V_GEN)pygobject-codegen-2.0 --prefix spice \
 			  --register $(DEFSDIR)/gdk-types.defs \
 			  --register $(DEFSDIR)/gtk-types.defs \


More information about the Spice-commits mailing list