summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-22 01:51:01 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-22 01:51:01 (EDT)
commitbe880e730a0c70af28727b78e65c1a2e0e7e0acc (patch)
tree44f5eac5fcb20e3b7b1357e8d9ae5e1f0d4e0d0b /build
parent8cb96115e5ae4f7c7559c4bd76c464b82a289d0a (diff)
build: Add "install" target.
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/build b/build
index 497a1e8..7a435f9 100755
--- a/build
+++ b/build
@@ -15,3 +15,11 @@ build:
oh-autobuild -T check; \
fi
touch $@
+
+install: build
+ oh-autoinstall
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/*.la
+ mv dest/usr/share/doc/pcre/ dest/usr/share/doc/libpcre.3/
+ oh-fixperms
+ oh-strip -k
+ oh-installfiles