Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / gconf / Makefile.am
1 GST_SCHEMA_FILES = gstreamer-@GST_MAJORMINOR@.schemas
2
3 if USE_GCONF
4 schemadir = @GCONF_SCHEMA_FILE_DIR@
5 schema_DATA = $(GST_SCHEMA_FILES)
6 endif
7
8 gstreamer-@GST_MAJORMINOR@.schemas: gstreamer.schemas
9         cp gstreamer.schemas gstreamer-@GST_MAJORMINOR@.schemas
10
11 if USE_GCONF
12 if GCONF_SCHEMAS_INSTALL
13 install-data-local:
14         @GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) \
15                 --makefile-install-rule $(builddir)/$(schema_DATA) || \
16                 (echo ;\
17                 echo "*****************************************************"; \
18                 echo "Installation of schemas failed, install them manually"; \
19                 echo "*****************************************************";) 
20         @true
21 else
22 install-data-local:
23         @echo "***************************************************************"
24         @echo "Not installing schemas, disabled with --disable-schemas-install"
25         @echo "***************************************************************"
26         @true
27 endif
28 endif # USE_GCONF
29
30 CLEANFILES = $(GST_SCHEMA_FILES)
31 EXTRA_DIST = $(GST_SCHEMA_FILES)