From 683b3f5b5dcd21bb4d40abac2775d694e4d6f5bd Mon Sep 17 00:00:00 2001 From: Martin Dummer Date: Sun, 1 Jul 2012 22:33:59 +0200 Subject: Support for the APIVERSION define as introduced in VDR-1.3.47. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3