summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-10-18 11:05:44 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-10-18 11:07:05 (EDT)
commitbda2be48a2855e858a0600f1447c7a50eafc5fc7 (patch)
treee960d79161250d447bf497317048fc32724e988d /build
parentdbc07228ea7ae8ead241d526876114ab21e7dcee (diff)
build: Add "build" and "install" targets
Diffstat (limited to 'build')
-rwxr-xr-xbuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/build b/build
index 2a40656..d832004 100755
--- a/build
+++ b/build
@@ -4,3 +4,23 @@ include ../source.mk
nop:
@:
+
+build:
+ chmod a+rx src
+ oh-autoconfigure -- \
+ --disable-bundled-libtom
+ cp ../options.h src/options.h
+ oh-autobuild -- \
+ PROGRAMS='dropbear dbclient dropbearkey scp' \
+ MULTI=1 \
+ SCPPROGRESS=1
+ oh-autobuild -- \
+ PROGRAMS='dropbearconvert'
+ touch $@
+
+install: build
+ oh-autoinstall -- \
+ PROGRAMS='dropbear dbclient dropbearkey scp' \
+ MULTI=1
+ oh-autoinstall -- \
+ PROGRAMS='dropbearconvert'