aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-02-08 16:35:30 +0000
committerrodri <rgl@antares-labs.eu>2024-02-08 16:35:30 +0000
commitea09c17ebaeaa0e51a294a2a354ddcb845db9775 (patch)
tree101ecb27408e8092cce2b8273be507c0076a71a0
parentc408b0425f8646103d28f0ae61e732424e34ab47 (diff)
download3dee-ea09c17ebaeaa0e51a294a2a354ddcb845db9775.tar.gz
3dee-ea09c17ebaeaa0e51a294a2a354ddcb845db9775.tar.bz2
3dee-ea09c17ebaeaa0e51a294a2a354ddcb845db9775.zip
nuke empty dirs before pulldeps.
-rw-r--r--mkfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mkfile b/mkfile
index d168918..edfb0c9 100644
--- a/mkfile
+++ b/mkfile
@@ -22,7 +22,12 @@ libobj/libobj.a$O:
cd libobj
mk install
-pulldeps:VQ:
+nuke∅dirs:VQ:
+ for(d in `{walk -d | grep -v '^\.git'})
+ if(~ `{walk -f $d} '')
+ rm -f $d
+
+pulldeps:VQ: nuke∅dirs
git/clone git://antares-labs.eu/libobj || \
git/clone git://shithub.us/rodri/libobj || \
git/clone https://github.com/sametsisartenep/libobj