mkports

recipes for building multiple softwares with mk(1)
git clone git://z3bra.org/mkports
Log | Files | Refs

commit 21c6e328cf7966d299339049f9dad7cf8a9e6222
parent 69a31571e9651a69d2f6967fafa6c7969e064f5c
Author: z3bra <contactatz3bradotorg>
Date:   Wed Nov 30 08:26:45 +0100

Small fixes in default.mk

Diffstat:
default.mk | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/default.mk b/default.mk @@ -11,7 +11,7 @@ $tarball:Q: mk fetch patch build install cleanup cd $destdir mkdir -p $(dirname $tarball) - tar -c `ls` | bzip2 -c > $tarball + tar -c `ls -1` | bzip2 -c > $tarball # recipe trying to follow the most common pattern in software # building @@ -37,7 +37,7 @@ cleanup:V: install find . -name 'info' -type d | xargs -r rm -r find . -name 'doc' -type d | xargs -r rm -r find . -name 'pkgconfig' -type d | xargs -r rm -r - test -d ./share -a -z "$(ls ./share)" && rmdir ./share + { test -d ./share && test -z "$(ls ./share)" && rmdir ./share; } || true # patch your software using everything in ./patches patch:QV: fetch @@ -81,7 +81,7 @@ $WORK/$archive:Q: if [ -n "$url" ]; then mkdir -p $WORK cd $WORK - curl -LO $url > $archive + curl -LO# $url > $archive fi # delete everything but the pack