gconf: Don't install schemas when GConf is disabled

https://bugzilla.gnome.org/show_bug.cgi?id=632553
This commit is contained in:
Bastien Nocera 2010-10-19 14:21:53 +01:00 committed by Sebastian Dröge
parent fdba600fd6
commit 28d96250c6

View file

@ -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)