make BINDIR and SBINDIR available to input files
BINDIR and SBINDIR can be set independently of PREFIX and may not be set to PREFIX/bin as scripts currently assume. Note from William Hubbs: This adds @BINDIR@ and @SBINDIR@ macros to the sed commands run to convert *.in files to the executable form. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
This commit is contained in:
committed by
William Hubbs
parent
9eb0674512
commit
8c90042dee
@@ -18,6 +18,8 @@ SED_CMD= -e 's:@PREFIX@:${PREFIX}:g'
|
||||
SED_CMD+= -e 's:@LIB@:${LIBNAME}:g'
|
||||
SED_CMD+= -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g'
|
||||
SED_CMD+= -e 's:@LIBEXECDIR@:${LIBEXECDIR}:g'
|
||||
SED_CMD+= -e 's:@BINDIR@:${BINDIR}:g'
|
||||
SED_CMD+= -e 's:@SBINDIR@:${SBINDIR}:g'
|
||||
|
||||
_PKG_PREFIX= -e 's:.*@PKG_PREFIX@.*:\#undef RC_PKG_PREFIX:g'
|
||||
ifneq (${PKG_PREFIX},)
|
||||
|
Reference in New Issue
Block a user