blob: e07e810a733c3c64718691cb2c93448f53303612 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001From 26faa2c157a27a18a9f767976730fe0c115e3af4 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Wed, 13 Jul 2016 19:19:02 +0300
4Subject: [PATCH] cmake: install bash-completions in the right place
5
6The completionsdir variable is a full path and should not be
7prefixed.
8
9This does mean the files may be installed outside of
10CMAKE_INSTALL_PREFIX -- the alternative is more difficult and
11means that bash completion files may be installed where
12bash-completion can't find them.
13
14Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
15Upstream-Status: Submitted [mailing list]
16---
17 CMakeLists.txt | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/CMakeLists.txt b/CMakeLists.txt
21index 8e2abba..784a8f9 100644
22--- a/CMakeLists.txt
23+++ b/CMakeLists.txt
24@@ -532,7 +532,7 @@ install (
25 if (BASH_COMPLETION_FOUND)
26 install(
27 FILES completions/bash/piglit
28- DESTINATION ${CMAKE_INSTALL_PREFIX}/${BASH_COMPLETION_COMPLETIONSDIR}/
29+ DESTINATION ${BASH_COMPLETION_COMPLETIONSDIR}/
30 )
31 endif (BASH_COMPLETION_FOUND)
32
33--
342.8.1
35