CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added Makefile for the project and pkgmk-cross script as wrapper of pkgmk to build...
authorJose V Beneyto <sepen@crux.nu>
Tue, 8 Dec 2009 17:37:12 +0000 (18:37 +0100)
committerJose V Beneyto <sepen@crux.nu>
Tue, 8 Dec 2009 17:37:12 +0000 (18:37 +0100)
Makefile [new file with mode: 0644]
pkgmk-cross [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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 (file)
index 0000000..f33b867
--- /dev/null
@@ -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