diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2012-08-08 16:06:58 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2012-08-08 16:20:57 +0200 |
commit | 1e7fab6563355f997760054f8bbc86ef31ddfe42 (patch) | |
tree | 0f98e75d851c0ecd200a51a7b55e328e69f8eee1 | |
parent | 5bf72a2e33dc33bc2e2be076dd3732ee6c53c72f (diff) |
build: make spice-controller.pc installation conditional
It shouldn't be installed when controller support is disabled.
-rw-r--r-- | Makefile.am | 5 |
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 \ |