commit 6565433b94cd5c536889a53c743157041687963f parent 585cbf4f7d3686c5e26d39bbe7d1bad0b9d42a78 Author: Daniel Bainton <dpb@driftaway.org> Date: Mon, 7 Apr 2014 16:35:30 +0300 Add install and fetch targets to mkfile No longer build only stage0, build whatever ports builds by default Diffstat:
M | mkfile | | | 26 | +++++++++++++++----------- |
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/mkfile b/mkfile @@ -3,18 +3,23 @@ configmk = `{pwd}/config.mk mkbuild = `{pwd}/mkbuild -TARG = stage0 +all:QV: + cd ports + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk -all: $TARG +submodule:QV: + git submodule init + git submodule update --remote -&: - cd ports/stage0 - env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk +install:QV: + cd ports + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk install ROOT="${ROOT}" -clean: +clean:QV: cd ports - mk configmk="$configmk" mkbuild="$mkbuild" clean + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk clean + +fetch:QV: + cd ports + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk fetch -submodule: - git submodule init - git submodule update --remote -\ No newline at end of file