summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorDennis Klein <d.klein@gsi.de>2020-10-08 13:58:54 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-08 15:10:41 (GMT)
commit798c1c319224c8b9ec6e4407e2c42375bd645235 (patch)
tree89fa12e3831e830953d5c905d89a9486020bde74 /Tests
parent75bcd3cf54bc483b49dc4ed1d7ee9d36f5f58732 (diff)
downloadCMake-798c1c319224c8b9ec6e4407e2c42375bd645235.zip
CMake-798c1c319224c8b9ec6e4407e2c42375bd645235.tar.gz
CMake-798c1c319224c8b9ec6e4407e2c42375bd645235.tar.bz2
GNUInstallDirs: Comply with Debian Policy on LIBEXECDIR
If CMAKE_INSTALL_PREFIX is /usr, CMAKE_INSTALL_LIBEXECDIR shall return the same value as CMAKE_INSTALL_LIBDIR on Debian. While the FHS allows /usr/libexec for internal binaries (https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrlibexec) the Debian Policy Manual states an exception here (section 9.1.1 bullet point 4): https://www.debian.org/doc/debian-policy/ch-opersys#file-system-structure. Fixes: #21287
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/GNUInstallDirs/Usr-Debian-stderr.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/GNUInstallDirs/Usr-Debian-stderr.txt b/Tests/RunCMake/GNUInstallDirs/Usr-Debian-stderr.txt
index c38006c..89578ee 100644
--- a/Tests/RunCMake/GNUInstallDirs/Usr-Debian-stderr.txt
+++ b/Tests/RunCMake/GNUInstallDirs/Usr-Debian-stderr.txt
@@ -5,7 +5,7 @@ CMAKE_INSTALL_DOCDIR='share/doc/Usr'
CMAKE_INSTALL_INCLUDEDIR='include'
CMAKE_INSTALL_INFODIR='share/info'
CMAKE_INSTALL_LIBDIR='lib/arch'
-CMAKE_INSTALL_LIBEXECDIR='libexec'
+CMAKE_INSTALL_LIBEXECDIR='lib/arch'
CMAKE_INSTALL_LOCALEDIR='share/locale'
CMAKE_INSTALL_LOCALSTATEDIR='var'
CMAKE_INSTALL_RUNSTATEDIR='var/run'
@@ -20,7 +20,7 @@ CMAKE_INSTALL_FULL_DOCDIR='/usr/share/doc/Usr'
CMAKE_INSTALL_FULL_INCLUDEDIR='/usr/include'
CMAKE_INSTALL_FULL_INFODIR='/usr/share/info'
CMAKE_INSTALL_FULL_LIBDIR='/usr/lib/arch'
-CMAKE_INSTALL_FULL_LIBEXECDIR='/usr/libexec'
+CMAKE_INSTALL_FULL_LIBEXECDIR='/usr/lib/arch'
CMAKE_INSTALL_FULL_LOCALEDIR='/usr/share/locale'
CMAKE_INSTALL_FULL_LOCALSTATEDIR='/var'
CMAKE_INSTALL_FULL_RUNSTATEDIR='/var/run'