mkports

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

commit 8e715b99aab0f998d292211cf2674aa1ffaf415a
parent 9c9f6ea0c67e61fbf1a82ec27881a7bc4ab52065
Author: z3bra <contactatz3bradotorg>
Date:   Fri Dec  2 14:22:35 +0100

fs: Accomodate to default.mk changes

Diffstat:
fs/mkfile | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/fs/mkfile b/fs/mkfile @@ -1,11 +1,14 @@ pkg = fs ver = 0.1 -destdir = `{printf '%s/%s/.rootfs' "$(pwd)" "$pkg-$ver"} +<../config.mk + +destdir = `{printf '%s/%s/.rootfs' "$(pwd)" "$pkg-$ver"} +tarball = ${REPO}/$pkg\#$ver.tar.bz2 -$pkg\#$ver.tar.bz2:Q: build-fs +$tarball:Q: build-fs cd $destdir - tar -c $(ls) | bzip2 -c > ../../$target + tar -c $(ls) | bzip2 -c > $tarball build-fs:QV: for dir in dev etc proc sys tmp; do @@ -59,4 +62,4 @@ clean:V: rm -rf $pkg-$ver distclean:V: clean - rm -f $pkg\#$ver.tar.bz2 + rm -f ${REPO}/$pkg\#$ver.tar.bz2