summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-08-08 16:06:58 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-08-08 16:20:57 +0200
commit1e7fab6563355f997760054f8bbc86ef31ddfe42 (patch)
tree0f98e75d851c0ecd200a51a7b55e328e69f8eee1 /Makefile.am
parent5bf72a2e33dc33bc2e2be076dd3732ee6c53c72f (diff)
downloadspice-gtk-1e7fab6563355f997760054f8bbc86ef31ddfe42.tar.gz
spice-gtk-1e7fab6563355f997760054f8bbc86ef31ddfe42.tar.xz
spice-gtk-1e7fab6563355f997760054f8bbc86ef31ddfe42.zip
build: make spice-controller.pc installation conditional
It shouldn't be installed when controller support is disabled.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
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 \