summaryrefslogtreecommitdiffstats
path: root/Auxiliary/bash-completion/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-09-23 18:30:25 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-15 14:46:54 (GMT)
commitb601e2350afa89e592c4a601b08f8c74728d1ae3 (patch)
tree24db537acd620a356e1daf25d9e2d050d50f382d /Auxiliary/bash-completion/CMakeLists.txt
parent07b80021aad97a4f4243e97576bae4670114a3ca (diff)
downloadCMake-b601e2350afa89e592c4a601b08f8c74728d1ae3.zip
CMake-b601e2350afa89e592c4a601b08f8c74728d1ae3.tar.gz
CMake-b601e2350afa89e592c4a601b08f8c74728d1ae3.tar.bz2
Rename Docs to Auxiliary
The directory contains auxiliary support files for integration with other tools, not documentation.
Diffstat (limited to 'Auxiliary/bash-completion/CMakeLists.txt')
-rw-r--r--Auxiliary/bash-completion/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Auxiliary/bash-completion/CMakeLists.txt b/Auxiliary/bash-completion/CMakeLists.txt
new file mode 100644
index 0000000..c0a8899
--- /dev/null
+++ b/Auxiliary/bash-completion/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Always install completion file in local dir
+# in order to be sure to always be able to install
+# in a local user directory rooted in a single directory.
+# packager should either patch that out or
+# add symlinks to the files in appropriate places
+# /etc/bash_completion.d/
+# DATADIR/completions (may be /usr/share/<package>/completions
+install(FILES cmake cpack ctest DESTINATION ${CMAKE_DATA_DIR}/completions)