From db8c8a18b6e5744c31c281be9adf5ca82942de3f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 21 Oct 2014 08:44:13 -0400 Subject: build: Add "install" target --- 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 -- cgit v0.9.1