summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoachim Wilke <vdr@joachim-wilke.de>2006-09-24 00:00:00 +0200
committerJoachim Wilke <vdr@joachim-wilke.de>2006-09-24 00:00:00 +0200
commitd40a2445b68a7153515e1905704f9c401ddb82f4 (patch)
treefa51c03cc10fff53e31ec9f99e2861bb52def7aa /Makefile
parenta1a98bf76178df893addb968f2af9369da1a537b (diff)
downloadvdr-plugin-lcdproc-d40a2445b68a7153515e1905704f9c401ddb82f4.tar.gz
vdr-plugin-lcdproc-d40a2445b68a7153515e1905704f9c401ddb82f4.tar.bz2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 06e8c56..8918258 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')
### The name of the distribution archive:
@@ -44,7 +44,7 @@ INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
-ifeq ($(shell echo $(VDRVERSION)|sed -e 's/\([0-9]\.[0-9]\)\..*/\1/' ),1.2)
+ifeq ($(shell echo $(APIVERSION)|sed -e 's/\([0-9]\.[0-9]\)\..*/\1/' ),1.2)
DEFINES += -DOLDVDR
endif
@@ -78,7 +78,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)