-Wold-style-definition is not valid for C++
[platform/upstream/gstreamer.git] / gconf / Makefile.am
1 GST_SCHEMA_FILES = gstreamer-@GST_MAJORMINOR@.schemas
2
3 schemadir = @GCONF_SCHEMA_FILE_DIR@
4 schema_DATA = $(GST_SCHEMA_FILES)
5
6 gstreamer-@GST_MAJORMINOR@.schemas: gstreamer.schemas
7         cp gstreamer.schemas gstreamer-@GST_MAJORMINOR@.schemas
8
9 if GCONF_SCHEMAS_INSTALL
10 install-data-local:
11         @GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) \
12                 --makefile-install-rule $(srcdir)/$(schema_DATA) || \
13                 (echo ;\
14                 echo "*****************************************************"; \
15                 echo "Installation of schemas failed, install them manually"; \
16                 echo "*****************************************************";) 
17         @true
18 else
19 install-data-local:
20         @echo "***************************************************************"
21         @echo "Not installing schemas, disabled with --disable-schemas-install"
22         @echo "***************************************************************"
23         @true
24 endif
25
26 CLEANFILES = $(GST_SCHEMA_FILES)
27 EXTRA_DIST = $(GST_SCHEMA_FILES)