From: Jose V Beneyto Date: Tue, 8 Dec 2009 17:37:12 +0000 (+0100) Subject: Added Makefile for the project and pkgmk-cross script as wrapper of pkgmk to build... X-Git-Url: http://gitweb/?a=commitdiff_plain;h=f49ee1850c34be14edb099153fec4b8f00d60abd;p=pkgutils-cross.git Added Makefile for the project and pkgmk-cross script as wrapper of pkgmk to build crosscompiled ports --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..218a110 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +# +# Makefile +# + +all: src/pkgmk src/pkgmk.conf + +src/pkgmk: + @make -C src + +clean: + @make -C src clean + +distclean: + @make -C src distclean + +# End of file diff --git a/pkgmk-cross b/pkgmk-cross new file mode 100644 index 0000000..f33b867 --- /dev/null +++ b/pkgmk-cross @@ -0,0 +1,10 @@ +#!/bin/sh + +TOPDIR="$(cd $(dirname $0); pwd)" + +PKGMK=$TOPDIR/src/pkgmk +PKGMK_CONF=$TOPDIR/src/pkgmk.conf + +echo "$PKGMK -cf $PKGMK_CONF" $@ + +# End of file