[Spice-devel] [PATCH spice-gtk] build: allow out-of-tree building of python bindings

Christophe Fergeau cfergeau at redhat.com
Tue Jan 17 08:19:29 PST 2012


ACK (a bit confused at first because of the unrelated $^ addition)

Christophe

On Tue, Jan 17, 2012 at 04:49:01PM +0100, Marc-André Lureau wrote:
> ---
>  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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120117/70941d98/attachment.pgp>


More information about the Spice-devel mailing list