summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild13
1 files changed, 13 insertions, 0 deletions
diff --git a/build b/build
index debe7f7..1aa0ac3 100755
--- a/build
+++ b/build
@@ -2,3 +2,16 @@
nop:
@:
+
+build:
+ oh-autobuild -- KSHELL=/bin/sh TZDIR=/usr/share/zoneinfo
+ touch $@
+
+install: build
+ mkdir -p dest/usr/sbin
+ cp src/tzselect src/zic src/zdump dest/usr/sbin
+ mkdir -p dest/usr/share/man/man8
+ cp src/tzselect.8 src/zic.8 src/zdump.8 dest/usr/share/man/man8
+ oh-fixperms
+ oh-strip
+ oh-installfiles