diff options
author | P. 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) |
commit | db8c8a18b6e5744c31c281be9adf5ca82942de3f (patch) | |
tree | d5681f1d050021394c72e8b4150215fe94cda57b /build | |
parent | f3264edf45c14e45c8f8693dd59787ed6923f5fc (diff) |
build: Add "install" target
Diffstat (limited to 'build')
-rwxr-xr-x | build | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |