[Spice-devel] [spice-gtk] build: make spice-controller.pc installation conditional

Marc-André Lureau mlureau at redhat.com
Wed Aug 8 08:05:52 PDT 2012


yup, should have been with previous patch, so trivial to me

----- Mensaje original -----
> It shouldn't be installed when controller support is disabled.
> ---
>  Makefile.am | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 0d168a8..a8d585b 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -13,9 +13,12 @@ pkgconfigdir = $(libdir)/pkgconfig
>  pkgconfig_DATA =					\
>  	spice-client-glib-2.0.pc			\
>  	spice-client-gtk-$(SPICE_GTK_API_VERSION).pc	\
> -	spice-controller.pc				\
>  	$(NULL)
>  
> +if WITH_CONTROLLER
> +pkgconfig_DATA += spice-controller.pc
> +endif
> +
>  INTLTOOL_FILES =				\
>  	intltool-extract.in			\
>  	intltool-merge.in			\
> --
> 1.7.11.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list