diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-24 17:53:19 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-24 17:53:19 +0200 |
commit | bf4f8e0da38b757dae9a8fef4e17cb23094d6e26 (patch) | |
tree | 7f014108347cc454d5cde6fd22e97b50015090ce /Makefile | |
parent | c4d90dff6b201101fe54b96ec5b127db1ce818af (diff) | |
download | vdr-bf4f8e0da38b757dae9a8fef4e17cb23094d6e26.tar.gz vdr-bf4f8e0da38b757dae9a8fef4e17cb23094d6e26.tar.bz2 |
Fixed extracting APIVERSION to work with older versions of 'sed'; Fixed broken APIVERSION extraction line in 'newplugin'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Makefile 1.90 2006/04/24 17:06:48 kls Exp $ +# $Id: Makefile 1.91 2006/04/24 17:18:06 kls Exp $ .DELETE_ON_ERROR: @@ -81,8 +81,8 @@ DEFINES += -DPLUGINDIR=\"$(PLUGINLIBDIR)\" # The version numbers of VDR and the plugin API (taken from VDR's "config.h"): -VDRVERSION = $(shell sed -ne '/define VDRVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' config.h) -APIVERSION = $(shell sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' config.h) +VDRVERSION = $(shell sed -ne '/define VDRVERSION/s/^.*"\(.*\)".*$$/\1/p' config.h) +APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' config.h) ifdef VFAT # for people who want their video directory on a VFAT partition |