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



commit 643c10e0a0a1acbc7861412635026f96567421f3
Author: Joaquim Rocha <jrocha igalia com>
Date:   Mon Jun 21 20:41:39 2010 +0200

    shoutcast: Rename plugin's XML with the ID name

 configure.ac                                       |    1 +
 src/shoutcast/Makefile.am                          |    6 +++---
 .../{libgrlshoutcast.xml => grl-shoutcast.xml}     |    0
 3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bb66d26..af0b48f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -465,6 +465,7 @@ then
 fi
 
 SHOUTCAST_PLUGIN_ID="grl-shoutcast"
+AC_SUBST(SHOUTCAST_PLUGIN_ID)
 AC_DEFINE_UNQUOTED([SHOUTCAST_PLUGIN_ID], ["$SHOUTCAST_PLUGIN_ID"], [Shoutcast plugin ID])
 
 # ----------------------------------------------------------
diff --git a/src/shoutcast/Makefile.am b/src/shoutcast/Makefile.am
index 7ab6de4..470b386 100644
--- a/src/shoutcast/Makefile.am
+++ b/src/shoutcast/Makefile.am
@@ -21,10 +21,10 @@ libgrlshoutcast_la_SOURCES	 = grl-shoutcast.c grl-shoutcast.h
 
 libdir=$(GRL_PLUGINS_DIR)
 
-shoutcastlibxmldir	= $(libdir)
-shoutcastlibxml_DATA	= libgrlshoutcast.xml
+shoutcastxmldir		= $(GRL_PLUGINS_CONF_DIR)
+shoutcastxml_DATA	= $(SHOUTCAST_PLUGIN_ID).xml
 
-EXTRA_DIR = $(shoutcastlibdata_DATA)
+EXTRA_DIR = $(shoutcastxml_DATA)
 
 MAINTAINERCLEANFILES =	\
 	*.in		\
diff --git a/src/shoutcast/libgrlshoutcast.xml b/src/shoutcast/grl-shoutcast.xml
similarity index 100%
rename from src/shoutcast/libgrlshoutcast.xml
rename to src/shoutcast/grl-shoutcast.xml



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