tuse env -i for all builds - mkports - recipes for building multiple softwares with mk(1)
(HTM) git clone git://z3bra.org/mkports
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 8c1f4c61769da2b0e765e52e9b463f94763333fe
(DIR) parent ec6f37846e3bb751d1fa27bbd7885bf92c9a4acf
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Mon, 18 Jan 2016 19:36:05 +0100
use env -i for all builds
Diffstat:
M mkfile | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/mkfile b/mkfile
t@@ -1,7 +1,18 @@
ALL = `{ls | grep -vP 'config.mk|default.mk|mkfile'}
-%:QV:
- cd $stem; mk; mk clean
+default:QV:
+ echo "no default rule."
+ echo "* <port>"
+ echo "* all"
+ echo "* clean"
+ echo "* distclean"
+
+all:QV: ${ALL}
+
+%:V:
+ cd $stem
+ env -i PATH=$PATH mk
+ env -i PATH=$PATH mk clean
clean:QV:
for p in ${ALL}; do (cd $p; mk clean); done