From 1e7fab6563355f997760054f8bbc86ef31ddfe42 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 8 Aug 2012 16:06:58 +0200 Subject: build: make spice-controller.pc installation conditional 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 \ -- cgit v1.2.3