2006-06-09 20:36:00 +00:00
|
|
|
GST_SCHEMA_FILES = gstreamer-@GST_MAJORMINOR@.schemas
|
|
|
|
|
2010-10-19 13:21:53 +00:00
|
|
|
if USE_GCONF
|
2002-05-10 21:53:52 +00:00
|
|
|
schemadir = @GCONF_SCHEMA_FILE_DIR@
|
2006-06-09 20:36:00 +00:00
|
|
|
schema_DATA = $(GST_SCHEMA_FILES)
|
2010-10-19 13:21:53 +00:00
|
|
|
endif
|
2004-02-23 22:31:48 +00:00
|
|
|
|
|
|
|
gstreamer-@GST_MAJORMINOR@.schemas: gstreamer.schemas
|
2004-04-19 22:51:57 +00:00
|
|
|
cp gstreamer.schemas gstreamer-@GST_MAJORMINOR@.schemas
|
2002-05-10 21:53:52 +00:00
|
|
|
|
2010-10-19 13:21:53 +00:00
|
|
|
if USE_GCONF
|
2006-06-09 20:36:00 +00:00
|
|
|
if GCONF_SCHEMAS_INSTALL
|
2002-05-10 21:53:52 +00:00
|
|
|
install-data-local:
|
2003-01-05 23:06:00 +00:00
|
|
|
@GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) \
|
2010-04-04 19:26:59 +00:00
|
|
|
--makefile-install-rule $(builddir)/$(schema_DATA) || \
|
2002-12-08 20:22:08 +00:00
|
|
|
(echo ;\
|
2002-12-08 13:44:25 +00:00
|
|
|
echo "*****************************************************"; \
|
|
|
|
echo "Installation of schemas failed, install them manually"; \
|
2002-12-08 20:22:08 +00:00
|
|
|
echo "*****************************************************";)
|
2002-12-08 13:44:25 +00:00
|
|
|
@true
|
2006-06-09 20:36:00 +00:00
|
|
|
else
|
|
|
|
install-data-local:
|
|
|
|
@echo "***************************************************************"
|
|
|
|
@echo "Not installing schemas, disabled with --disable-schemas-install"
|
|
|
|
@echo "***************************************************************"
|
|
|
|
@true
|
|
|
|
endif
|
2010-10-19 13:21:53 +00:00
|
|
|
endif # USE_GCONF
|
2002-05-10 21:53:52 +00:00
|
|
|
|
2006-06-09 20:36:00 +00:00
|
|
|
CLEANFILES = $(GST_SCHEMA_FILES)
|
|
|
|
EXTRA_DIST = $(GST_SCHEMA_FILES)
|