[grilo-plugins] fake-metadata: Rename plugin's XML with the ID name



commit f06cdb93c2ab7fb5010177cd7a4eb69b87218463
Author: Joaquim Rocha <jrocha igalia com>
Date:   Tue Jun 22 16:32:59 2010 +0200

    fake-metadata: Rename plugin's XML with the ID name

 configure.ac                                       |    1 +
 src/fake-metadata/Makefile.am                      |    7 +++----
 ...ibgrlfakemetadata.xml => grl-fake-metadata.xml} |    0
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0239b3a..174d859 100644
--- a/configure.ac
+++ b/configure.ac
@@ -150,6 +150,7 @@ then
 fi
 
 FAKEMETADATA_PLUGIN_ID="grl-fake-metadata"
+AC_SUBST(FAKEMETADATA_PLUGIN_ID)
 AC_DEFINE_UNQUOTED([FAKEMETADATA_PLUGIN_ID], ["$FAKEMETADATA_PLUGIN_ID"], [Fake metadata plugin ID])
 
 # ----------------------------------------------------------
diff --git a/src/fake-metadata/Makefile.am b/src/fake-metadata/Makefile.am
index 004a16c..68b322f 100644
--- a/src/fake-metadata/Makefile.am
+++ b/src/fake-metadata/Makefile.am
@@ -16,11 +16,10 @@ libgrlfakemetadata_la_LIBADD =	\
 libgrlfakemetadata_la_SOURCES = grl-fake-metadata.c grl-fake-metadata.h
 
 libdir=$(GRL_PLUGINS_DIR)
+fakemetadataxmldir	= $(GRL_PLUGINS_CONF_DIR)
+fakemetadataxml_DATA	= $(FAKEMETADATA_PLUGIN_ID).xml
 
-fakemetadatalibxmldir		= $(libdir)
-fakemetadatalibxml_DATA		= libgrlfakemetadata.xml
-
-EXTRA_DIR = $(fakemetadatalibdata_DATA)
+EXTRA_DIR = $(fakemetadataxml_DATA)
 
 MAINTAINERCLEANFILES	 = \
 	*.in \
diff --git a/src/fake-metadata/libgrlfakemetadata.xml b/src/fake-metadata/grl-fake-metadata.xml
similarity index 100%
rename from src/fake-metadata/libgrlfakemetadata.xml
rename to src/fake-metadata/grl-fake-metadata.xml



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]