diff options
author | Roy Marples <roy@marples.name> | 2008-03-20 17:52:07 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-20 17:52:07 +0000 |
commit | e598b7d2cdca96468a6511ccb0a0e895d3750d86 (patch) | |
tree | aa2afa7b9699adaee858f3b9c816d30a2e04fc11 /mk/scripts.mk | |
parent | ec2d39d024b6efcf4c20ad27f664af9289230292 (diff) |
Tweak install.
Diffstat (limited to 'mk/scripts.mk')
-rw-r--r-- | mk/scripts.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mk/scripts.mk b/mk/scripts.mk index ce3b25aa..5404e952 100644 --- a/mk/scripts.mk +++ b/mk/scripts.mk @@ -6,9 +6,12 @@ include ${MK}/os.mk OBJS+= ${SRCS:.in=} -_SED_PREFIX_SH= if test "${PREFIX}" = "${PKG_PREFIX}"; then echo "-e 's:@PKG_PREFIX@::g'"; else echo "-e 's:@PKG_PREFIX@:${PKG_PREFIX}:g'"; fi -_SED_PREFIX!= ${_SED_PREFIX_SH} -SED_REPLACE= -e 's:@SHELL@:${SH}:g' -e 's:@LIB@:${LIBNAME}:g' -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' -e 's:@PREFIX@:${PREFIX}:g' ${_SED_PREFIX}$(shell ${_SED_PREFIX_SH}) -e 's:@LOCAL_PREFIX@:${LOCAL_PREFIX}:g' +_PKG_SED_SH= if test "${PREFIX}" = "${PKG_PREFIX}"; then echo "-e 's:@PKG_PREFIX@::g'"; else echo "-e 's:@PKG_PREFIX@:${PKG_PREFIX}:g'"; fi +_PKG_SED!= ${_PKG_SED_SH} +_LCL_SED_SH= if test "${PREFIX}" = "${LOCAL_PREFIX}"; then echo "-e 's:@LOCAL_PREFIX@::g'"; else echo "-e 's:@LOCAL_PREFIX@:${LOCAL_PREFIX}:g'"; fi +_LCL_SED!= ${_LCL_SED_SH} + +SED_REPLACE= -e 's:@SHELL@:${SH}:g' -e 's:@LIB@:${LIBNAME}:g' -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' -e 's:@PREFIX@:${PREFIX}:g' ${_PKG_SED}$(shell ${_PKG_SED_SH}) ${_LCL_SED}$(shell ${_LCL_SED_SH}) # Tweak our shell scripts .SUFFIXES: .sh.in .in |