From 1bb40ea62efc5eafc93d3739c9082e8f7e1a0e53 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 15 Aug 2016 12:55:51 +0200 Subject: CMake: Install bash completions via cmake Having the completions installed only by the packaging was an oversight. Gbp-Dch: ignore --- completions/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 completions/CMakeLists.txt (limited to 'completions') diff --git a/completions/CMakeLists.txt b/completions/CMakeLists.txt new file mode 100644 index 000000000..4ef62a892 --- /dev/null +++ b/completions/CMakeLists.txt @@ -0,0 +1,4 @@ +set(BASH_COMPLETION_DIR "${CMAKE_INSTALL_DATAROOTDIR}/bash-completion/completions" + CACHE PATH "Path to the bash-completion completions directory") + +install(FILES bash/apt DESTINATION ${BASH_COMPLETION_DIR}) -- cgit v1.2.3