commit d5530b2c0bc40adea95c03b11c086ed266b81921
parent 4ee19b71829e80d208b9e1c2e3f103dd6a6f6de7
Author: sin <sin@2f30.org>
Date: Fri, 28 Feb 2014 12:36:16 +0000
Create src/ as well
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/mkfile b/mkfile
@@ -13,6 +13,7 @@ clean:V:
rm -f .state/*
# generate a pkgs.mk file with the tarkets for all packages in pkgs/
+`{ mkdir -p src }
`{ mkdir -p .state }
`{ echo '# auto-generated file, do not edit' > pkgs.mk }
`{ cd pkgs && for pkg in *; do cat $pkg | sed -e "s,^build:,$pkg:QP./stuff/cmp-pkgs: pkgs/$pkg," >> ../pkgs.mk && echo '\tcd $top && cp pkgs/$target .state/$target\n' >> ../pkgs.mk; done }