From bf4f8e0da38b757dae9a8fef4e17cb23094d6e26 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 24 Apr 2006 17:53:19 +0200 Subject: Fixed extracting APIVERSION to work with older versions of 'sed'; Fixed broken APIVERSION extraction line in 'newplugin' --- HISTORY | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'HISTORY') diff --git a/HISTORY b/HISTORY index 76cc9c12..f66ec088 100644 --- a/HISTORY +++ b/HISTORY @@ -4580,7 +4580,7 @@ Video Disk Recorder Revision History +### The version number of VDR's plugin API (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') + +APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) ### The name of the distribution archive: @@ -4652,3 +4652,7 @@ Video Disk Recorder Revision History 2006-04-24: Version 1.4.0 - Fixed initializing 'noapiv' in the Makefile (reported by Ronny Kornexl). +- Fixed extracting APIVERSION to work with older versions of 'sed' (reported by + Oliver Endriss; thanks also to Udo Richter for a shorter version of the 'sed' + expression). +- Fixed broken APIVERSION extraction line in 'newplugin' (thanks to Oliver Endriss). -- cgit v1.2.3