summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2012-01-17 16:48:05 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2012-01-17 16:48:09 +0100
commite353b220a5939659005d3120b8da50465212acf1 (patch)
tree15d5da0f6348ecd9155a17cbaf00a67b49e89fda /gtk
parent3cf733aa98df7cdceaf8ac25b25802a606a9d6e6 (diff)
build: allow out-of-tree building of python bindings
Diffstat (limited to 'gtk')
-rw-r--r--gtk/Makefile.am6
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 \