tSmall fixes in default.mk - mkports - recipes for building multiple softwares with mk(1)
 (HTM) git clone git://z3bra.org/mkports
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 21c6e328cf7966d299339049f9dad7cf8a9e6222
 (DIR) parent 69a31571e9651a69d2f6967fafa6c7969e064f5c
 (HTM) Author: z3bra <contactatz3bradotorg>
       Date:   Wed, 30 Nov 2016 08:26:45 +0100
       
       Small fixes in default.mk
       
       Diffstat:
         M default.mk                          |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/default.mk b/default.mk
       t@@ -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
       t@@ -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
       t@@ -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