mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed extracting APIVERSION to work with older versions of 'sed'; Fixed broken APIVERSION extraction line in 'newplugin'
This commit is contained in:
6
Makefile
6
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
|
||||
|
Reference in New Issue
Block a user