mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
42a1b1e756
Original commit message from CVS: * gconf/Makefile.am: Honour --disable-schemas-install configure option. Fixes #344100.
29 lines
977 B
Makefile
29 lines
977 B
Makefile
GST_SCHEMA_FILES = gstreamer-@GST_MAJORMINOR@.schemas
|
|
|
|
if GCONF_SCHEMAS_INSTALL
|
|
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 GCONF_SCHEMAS_INSTALL
|
|
install-data-local:
|
|
@GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) \
|
|
--makefile-install-rule $(srcdir)/$(schema_DATA) || \
|
|
(echo ;\
|
|
echo "*****************************************************"; \
|
|
echo "Installation of schemas failed, install them manually"; \
|
|
echo "*****************************************************";)
|
|
@true
|
|
else
|
|
install-data-local:
|
|
@echo "***************************************************************"
|
|
@echo "Not installing schemas, disabled with --disable-schemas-install"
|
|
@echo "***************************************************************"
|
|
@true
|
|
endif
|
|
|
|
CLEANFILES = $(GST_SCHEMA_FILES)
|
|
EXTRA_DIST = $(GST_SCHEMA_FILES)
|