summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2012-07-01 22:33:59 +0200
committerMartin Dummer <martin.dummer@gmx.net>2012-07-01 22:33:59 +0200
commit683b3f5b5dcd21bb4d40abac2775d694e4d6f5bd (patch)
tree05108990b8f155128048583c9120d27d109ab850
parenta8f1dbcf480fee74629a73f3caee3912438761d8 (diff)
downloadvdr-plugin-playlist-683b3f5b5dcd21bb4d40abac2775d694e4d6f5bd.tar.gz
vdr-plugin-playlist-683b3f5b5dcd21bb4d40abac2775d694e4d6f5bd.tar.bz2
Support for the APIVERSION define as introduced in VDR-1.3.47.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f71e806..d07a54b 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ TMPDIR = /tmp
### 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')
VDRVERSNUM = $(shell grep 'define VDRVERSNUM ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
### DEFINES += -DVDRVERSNUM=$(VDRVERSNUM)
@@ -96,7 +96,7 @@ all: libvdr-$(PLUGIN).so
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
- @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
+ @cp $@ $(LIBDIR)/$@.$(APIVERSION)
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)