summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2010-10-19 14:21:53 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-10-19 16:25:19 +0200
commit28d96250c6965253d38291ac89e7d03a394df903 (patch)
tree313c1f5bb77ba517ddba80b50ecf05953ac17284
parentfdba600fd6ab00cfb78ec4e02a940b8cb2de5788 (diff)
gconf: Don't install schemas when GConf is disabled
https://bugzilla.gnome.org/show_bug.cgi?id=632553
-rw-r--r--gconf/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/gconf/Makefile.am b/gconf/Makefile.am
index a4b43548e..5129c0069 100644
--- a/gconf/Makefile.am
+++ b/gconf/Makefile.am
@@ -1,11 +1,14 @@
GST_SCHEMA_FILES = gstreamer-@GST_MAJORMINOR@.schemas
+if USE_GCONF
schemadir = @GCONF_SCHEMA_FILE_DIR@
schema_DATA = $(GST_SCHEMA_FILES)
+endif
gstreamer-@GST_MAJORMINOR@.schemas: gstreamer.schemas
cp gstreamer.schemas gstreamer-@GST_MAJORMINOR@.schemas
+if USE_GCONF
if GCONF_SCHEMAS_INSTALL
install-data-local:
@GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) \
@@ -22,6 +25,7 @@ install-data-local:
@echo "***************************************************************"
@true
endif
+endif # USE_GCONF
CLEANFILES = $(GST_SCHEMA_FILES)
EXTRA_DIST = $(GST_SCHEMA_FILES)