aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2016-12-05 17:26:27 +0100
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-05 18:35:04 -0800
commite8889f3e5cd78d94edc466e5e604ae3e40748cec (patch)
tree707e6efa8fd759db95a141a2c26334a4c4bf0438 /hooks
parent8a03f3b8e74d234a01e3b44972542cff30fd6524 (diff)
downloadpaludis-e8889f3e5cd78d94edc466e5e604ae3e40748cec.tar.gz
paludis-e8889f3e5cd78d94edc466e5e604ae3e40748cec.tar.xz
build: Install bash scripts as 'PROGRAMS'
...to make them executable.
Diffstat (limited to 'hooks')
-rw-r--r--hooks/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/hooks/CMakeLists.txt b/hooks/CMakeLists.txt
index 8879a5aac..7145c14b0 100644
--- a/hooks/CMakeLists.txt
+++ b/hooks/CMakeLists.txt
@@ -14,7 +14,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_install.cmake.in"
#paludis_add_test(news BASH
# TEST_RUNNER "${CMAKE_CURRENT_SOURCE_DIR}/run_test.bash")
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/gnu_info_index.bash"
"${CMAKE_CURRENT_BINARY_DIR}/eselect_env_update.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/log.bash"
@@ -22,12 +22,12 @@ install(FILES
"${CMAKE_CURRENT_SOURCE_DIR}/installed_cache_regen.bash"
DESTINATION
"${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/common")
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_BINARY_DIR}/news.hook"
"${CMAKE_CURRENT_SOURCE_DIR}/find_config_updates.hook"
DESTINATION
"${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/auto")
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/update_config_protect_list.bash"
DESTINATION
"${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/hooks/install_post")