summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-24 17:53:19 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-24 17:53:19 +0200
commitbf4f8e0da38b757dae9a8fef4e17cb23094d6e26 (patch)
tree7f014108347cc454d5cde6fd22e97b50015090ce /Makefile
parentc4d90dff6b201101fe54b96ec5b127db1ce818af (diff)
downloadvdr-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--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5b12acfe..148a688d 100644
--- a/Makefile
+++ b/Makefile
@@ -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