summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2006-04-22 14:46:58 +0000
committerAndreas Brachold <vdr07@deltab.de>2006-04-22 14:46:58 +0000
commiteac4c406f6444d8925cc99082c65f979faa8244f (patch)
treee4b081e5ffb0d88825d148d9c8192b3e41d9eae2 /Makefile
parent9eb107e0b73ebdc46e1f126d8612961fed28a19b (diff)
downloadvdr-plugin-image-eac4c406f6444d8925cc99082c65f979faa8244f.tar.gz
vdr-plugin-image-eac4c406f6444d8925cc99082c65f979faa8244f.tar.bz2
- Use now APIVERSION introduced with vdr-1.3.47 (Required)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 07e1b9b..31f8db2 100644
--- a/Makefile
+++ b/Makefile
@@ -62,9 +62,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
### 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:
@@ -143,7 +141,7 @@ all: subdirs libvdr-$(PLUGIN).so
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared -export-dynamic $(OBJS) $(LIBS) -o $@
- @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
+ @cp $@ $(LIBDIR)/$@.$(APIVERSION)
subdirs: