summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..dc2839f
--- /dev/null
+++ b/build
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+include ../source.mk
+
+nop:
+ @:
+
+build: source
+# oh-autoconfigure
+ oh-autobuild PLAT=posix
+ touch $@
+
+install: build
+ mkdir -p dest;
+ oh-autoinstall -- INSTALL_TOP="$${PWD}/dest/usr" INSTALL_LIB="$${PWD}/dest/usr/lib/$(OPK_HOST_ARCH)" INSTALL_MAN="$${PWD}/dest/usr/share/man/man1" INSTALL_INC="$${PWD}/dest/usr/include/lua5.1"
+ oh-fixperms
+ oh-strip
+ oh-installfiles