mkbuild

mk based build system
git clone git://git.2f30.org/mkbuild
Log | Files | Refs | LICENSE

commit 7f4414c87631579a74d4fa15d7d62a0554ff81af
parent 80d63cdd62d71ffa2e2313a308120b24d2c01332
Author: sin <sin@2f30.org>
Date:   Fri,  6 Jun 2014 17:35:59 +0100

Allow to set the permissions for INSTALL_OTHER*

Diffstat:
Mmk.install | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/mk.install b/mk.install @@ -47,10 +47,13 @@ install_other:QV: all a=`eval echo $a` d=`echo '\$INSTALL_OTHER'${i}'_DIR'` d=`eval echo $d` + p=`echo '\$INSTALL_OTHER'${i}'_PERMS'` + p=`eval echo $p` + test "$p" = "" && p=644 mkdir -p ${ROOT}$d for f in $a; do echo INSTALL ${ROOT}${PREFIX}$d/`basename $f` - $INSTALL -m 644 $f ${ROOT}${PREFIX}$d/`basename $f` + $INSTALL -m $p $f ${ROOT}${PREFIX}$d/`basename $f` done done