summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-05-07 12:54:18 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-05-07 12:54:18 (EDT)
commit6b8e4081f0e47ed7926598ce86601e3345041458 (patch)
tree4086db51ca3ab964565c86987b5f4386d6afa1c4 /build
Initial commit.
Diffstat (limited to 'build')
-rwxr-xr-xbuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..21410e4
--- /dev/null
+++ b/build
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+include ../source.mk
+
+nop:
+ @:
+
+configure:
+ oh-autoconfigure -- --with-readline
+ touch $@
+
+build: configure
+ oh-autobuild
+ touch $@
+
+install: build
+ oh-autoinstall
+ mv dest/usr/bin/dc dest/usr/bin/dc.gnu
+ # Remove GNU Info index.
+ rm -f dest/usr/share/info/dir
+ oh-fixperms
+ oh-strip
+ oh-installfiles