gstreamer/gconf/Makefile.am
Jens Granseuer 38bb20d0ff gconf/Makefile.am: Make --disable-schemas work right (they still need to be copied to the installation directory, jus...
Original commit message from CVS:
Patch by: Jens Granseuer <jensgr at gmx net>
* gconf/Makefile.am:
Make --disable-schemas work right (they still need
to be copied to the installation directory, just not
applied). Fixes #351347 (also #344100).
2006-08-15 22:44:27 +00:00

27 lines
946 B
Makefile

GST_SCHEMA_FILES = gstreamer-@GST_MAJORMINOR@.schemas
schemadir = @GCONF_SCHEMA_FILE_DIR@
schema_DATA = $(GST_SCHEMA_FILES)
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)