summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarsAC <LarsAC@e10066b5-e1e2-0310-b819-94efdf66514b>2006-04-27 16:36:00 +0000
committerLarsAC <LarsAC@e10066b5-e1e2-0310-b819-94efdf66514b>2006-04-27 16:36:00 +0000
commit8c22b2f73600853922c975da8427ac484a328729 (patch)
treebf4a544b9d4c3482e0cf1b2f3e70e601b6100701
parent854291dcb1d948a82eca452dfb047e798c2f031f (diff)
downloadvdr-plugin-muggle-8c22b2f73600853922c975da8427ac484a328729.tar.gz
vdr-plugin-muggle-8c22b2f73600853922c975da8427ac484a328729.tar.bz2
Muggle now honors APIVERSION.
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@936 e10066b5-e1e2-0310-b819-94efdf66514b
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4c1dd4e..48ee684 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ endif
### The version number of VDR (taken from VDR's "config.h"):
-VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
+APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
### The name of the distribution archive:
@@ -154,7 +154,7 @@ mg_tables.h: scripts/genres.txt scripts/iso_639.xml scripts/musictypes.txt scrip
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) $(PLAYLIBS) $(SQLLIBS) -o $@
- @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
+ @cp $@ $(LIBDIR)/$@.$(APIVERSION)
mugglei: mg_tools.o mugglei.o mg_db.o $(DB_OBJ) mg_listitem.o mg_item.o mg_item_gd.o mg_valmap.o mg_setup.o
$(CXX) $(CXXFLAGS) $^ $(MILIBS) $(SQLLIBS) -o $@