summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-05 19:05:58 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-05 19:05:58 (EDT)
commit4c1e8c6e1d611ed3b8f0540286b9da676dc8ea06 (patch)
treef370ed3a77d28f99473df5770ae14d7bd85083a3
parente2f8112ed95c899578396d00a49c5d30de7ffa2a (diff)
build: Add tzcode target commands
-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