diff options
author | Andreas Brugger <brougs78@gmx.net> | 2006-11-19 19:11:29 +0100 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2009-06-03 04:03:18 +0200 |
commit | 165c14206aa2e06c33ac887f9b9d0f816573a5fe (patch) | |
tree | b10d11bfb48a418a464d830ca0ef7c24d619ef92 /Makefile | |
parent | 74a5cc8e14900d48386e33cb576f154a6dd7e557 (diff) | |
parent | 5fe5e29f300d653e014f3b656b96f00901f0b106 (diff) | |
download | vdr-plugin-text2skin-165c14206aa2e06c33ac887f9b9d0f816573a5fe.tar.gz vdr-plugin-text2skin-165c14206aa2e06c33ac887f9b9d0f816573a5fe.tar.bz2 |
2006-11-19: Version 1.1-cvs_ext-0.9a (vdr-text2skin-1.1-cvs_ext-0.9a.diff)
- added APIVERSION to the Makefile for vdr-1.3.47
- fixed possible buffer overflow in xml reading (updated to cvs-version
of text2skin)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -43,7 +43,11 @@ 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') +VDRVERSION = $(shell sed -ne '/define VDRVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' $(VDRDIR)/config.h) +APIVERSION = $(shell sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' $(VDRDIR)/config.h) +ifeq ($(APIVERSION),) + APIVERSION = $(VDRVERSION) +endif ### The name of the distribution archive: @@ -126,9 +130,9 @@ all: libvdr-$(PLUGIN).so libvdr-$(PLUGIN).so: $(OBJS) $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ - @cp $@ $(LIBDIR)/$@.$(VDRVERSION) + @cp $@ $(LIBDIR)/$@.$(APIVERSION) ifndef DEBUG - strip $(LIBDIR)/$@.$(VDRVERSION) + strip $(LIBDIR)/$@.$(APIVERSION) endif dist: clean |