summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-11-25 16:50:47 (EST)
committer P. J. McDermott <pj@pehjota.net>2014-11-25 16:50:47 (EST)
commit92b4496ee21fea4eef45f3bd2be1fdb0afa9312d (patch)
treea80cd50d3897a225f43a96aa9bcadb586ebc020e
parent5c0d20ebf9a3da15f4153fdbba825c9a7f4bd02d (diff)
build: Add "install" target
-rwxr-xr-xbuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/build b/build
index a2c156a..615510b 100755
--- a/build
+++ b/build
@@ -19,3 +19,14 @@ build:
# oh-autobuild -T check; \
#fi
touch $@
+
+install: build
+ oh-autoinstall
+ rm dest/usr/bin/glib-mkenums dest/usr/bin/gtester-report
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/*.la
+ rm dest/usr/share/bash-completion/completions/*
+ rm dest/usr/share/gdb/auto-load/*.py
+ rm dest/usr/share/glib-2.0/gdb/*.py
+ oh-fixperms
+ oh-strip -k
+ oh-installfiles