summaryrefslogtreecommitdiff
path: root/Auxiliary/bash-completion/CMakeLists.txt
diff options
context:
space:
mode:
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 0000000000..c0a88999ec
--- /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)