commit 94cc51d1361f894a8676dd8525cc620f46bbb645 parent 093a6d35cf953cdc310b6f2e6ad462dba096aaad Author: Daniel Bainton <dpb@driftaway.org> Date: Wed, 9 Apr 2014 10:12:38 +0300 You can now specify targets in the mk command line eg. mk install TARG=mksh ROOT=`pwd`/root Diffstat:
M | mkfile | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mkfile b/mkfile @@ -5,7 +5,7 @@ mkbuild = `{pwd}/mkbuild all:QV: cd ports - env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk TARG="$TARG" init:QV: git submodule init @@ -13,17 +13,17 @@ init:QV: install:QV: cd ports - env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk install ROOT="${ROOT}" + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk install ROOT="${ROOT}" TARG="$TARG" clean:QV: cd ports - env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk clean + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk clean TARG="$TARG" distclean:QV: cd ports - env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk distclean + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk distclean TARG="$TARG" fetch:QV: cd ports - env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk fetch + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk fetch TARG="$TARG"