summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/build b/build
index e31d696..a4e497d 100755
--- a/build
+++ b/build
@@ -16,3 +16,15 @@ build:
HOME="$${PWD}/src/Build" oh-autotest -B src/Build -- \
ARGS='--output-on-failure -E CTestTestUpload'
touch $@
+
+install: build
+ #oh-autoinstall -B src/Build
+ # We don't need Bash completions.
+ rm dest/usr/share/cmake-3.0/completions/*
+ # We don't need Emacs Lisp and Vimscript files.
+ rm dest/usr/share/cmake-3.0/editors/*/*
+ # We provide copyright information ourselves.
+ find dest/usr/share/doc/cmake -name Copyright.txt -exec rm '{}' ';'
+ oh-fixperms
+ oh-strip
+ oh-installfiles