summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-10-21 08:44:13 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-10-21 08:44:13 (EDT)
commitdb8c8a18b6e5744c31c281be9adf5ca82942de3f (patch)
treed5681f1d050021394c72e8b4150215fe94cda57b
parentf3264edf45c14e45c8f8693dd59787ed6923f5fc (diff)
build: Add "install" target
-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