[Spice-devel] [PATCH spice-gtk] build: allow out-of-tree building of python bindings
Marc-André Lureau
marcandre.lureau at gmail.com
Tue Jan 17 07:49:01 PST 2012
---
gtk/Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
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 \
--
1.7.7.5
More information about the Spice-devel
mailing list