aboutsummaryrefslogtreecommitdiff
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
parent8a03f3b8e74d234a01e3b44972542cff30fd6524 (diff)
downloadpaludis-e8889f3e5cd78d94edc466e5e604ae3e40748cec.tar.gz
paludis-e8889f3e5cd78d94edc466e5e604ae3e40748cec.tar.xz
build: Install bash scripts as 'PROGRAMS'
...to make them executable.
-rw-r--r--hooks/CMakeLists.txt6
-rw-r--r--paludis/CMakeLists.txt2
-rw-r--r--paludis/fetchers/CMakeLists.txt2
-rw-r--r--paludis/fetchers/demos/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/0/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/1/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/2/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/3/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/4/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/5/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/6/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/paludis-1/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/pbin-1/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/utils/5/CMakeLists.txt2
-rw-r--r--paludis/repositories/e/ebuild/utils/CMakeLists.txt2
-rw-r--r--paludis/syncers/CMakeLists.txt2
-rw-r--r--paludis/util/CMakeLists.txt2
-rw-r--r--python/CMakeLists.txt2
-rw-r--r--ruby/demos/CMakeLists.txt4
-rw-r--r--src/clients/cave/CMakeLists.txt2
22 files changed, 25 insertions, 25 deletions
diff --git a/hooks/CMakeLists.txt b/hooks/CMakeLists.txt
index 8879a5a..7145c14 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")
diff --git a/paludis/CMakeLists.txt b/paludis/CMakeLists.txt
index 132cb8c..c846af7 100644
--- a/paludis/CMakeLists.txt
+++ b/paludis/CMakeLists.txt
@@ -397,7 +397,7 @@ install(FILES
"${CMAKE_CURRENT_SOURCE_DIR}/version_spec.hh"
DESTINATION
"${CMAKE_INSTALL_FULL_INCLUDEDIR}/paludis-${PALUDIS_PKG_CONFIG_SLOT}/paludis")
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/hooker.bash"
DESTINATION
"${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis")
diff --git a/paludis/fetchers/CMakeLists.txt b/paludis/fetchers/CMakeLists.txt
index ec35b40..cc8e8ed 100644
--- a/paludis/fetchers/CMakeLists.txt
+++ b/paludis/fetchers/CMakeLists.txt
@@ -17,7 +17,7 @@ add_custom_target(fetchers-keep
add_subdirectory(demos)
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_BINARY_DIR}/dohttp"
"${CMAKE_CURRENT_BINARY_DIR}/dohttps"
"${CMAKE_CURRENT_BINARY_DIR}/doftp"
diff --git a/paludis/fetchers/demos/CMakeLists.txt b/paludis/fetchers/demos/CMakeLists.txt
index c1749f7..16d4769 100644
--- a/paludis/fetchers/demos/CMakeLists.txt
+++ b/paludis/fetchers/demos/CMakeLists.txt
@@ -1,5 +1,5 @@
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/docurl"
DESTINATION
"${CMAKE_INSTALL_FULL_DATADIR}/paludis/fetchers/demos")
diff --git a/paludis/repositories/e/ebuild/0/CMakeLists.txt b/paludis/repositories/e/ebuild/0/CMakeLists.txt
index dba97c2..277e595 100644
--- a/paludis/repositories/e/ebuild/0/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/0/CMakeLists.txt
@@ -2,7 +2,7 @@
paludis_add_test(conditional_functions BASH EBUILD_MODULE_SUFFIXES 0)
paludis_add_test(list_functions BASH EBUILD_MODULE_SUFFIXES 0)
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/build_functions.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/builtin_infovars.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/builtin_init.bash"
diff --git a/paludis/repositories/e/ebuild/1/CMakeLists.txt b/paludis/repositories/e/ebuild/1/CMakeLists.txt
index 124992b..86a6bc9 100644
--- a/paludis/repositories/e/ebuild/1/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/1/CMakeLists.txt
@@ -1,5 +1,5 @@
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/src_compile.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/output_functions.bash"
DESTINATION
diff --git a/paludis/repositories/e/ebuild/2/CMakeLists.txt b/paludis/repositories/e/ebuild/2/CMakeLists.txt
index 4e2987b..32cb4dc 100644
--- a/paludis/repositories/e/ebuild/2/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/2/CMakeLists.txt
@@ -1,5 +1,5 @@
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/eclass_functions.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/pkg_nofetch.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/src_compile.bash"
diff --git a/paludis/repositories/e/ebuild/3/CMakeLists.txt b/paludis/repositories/e/ebuild/3/CMakeLists.txt
index 0cf81f5..93c1354 100644
--- a/paludis/repositories/e/ebuild/3/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/3/CMakeLists.txt
@@ -1,5 +1,5 @@
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/output_functions.bash"
DESTINATION
"${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/3")
diff --git a/paludis/repositories/e/ebuild/4/CMakeLists.txt b/paludis/repositories/e/ebuild/4/CMakeLists.txt
index 1523c46..f9da202 100644
--- a/paludis/repositories/e/ebuild/4/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/4/CMakeLists.txt
@@ -1,5 +1,5 @@
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/builtin_bad_required_use.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/pkg_pretend.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/src_install.bash"
diff --git a/paludis/repositories/e/ebuild/5/CMakeLists.txt b/paludis/repositories/e/ebuild/5/CMakeLists.txt
index 767dc4e..276e3fb 100644
--- a/paludis/repositories/e/ebuild/5/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/5/CMakeLists.txt
@@ -1,5 +1,5 @@
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/src_test.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/usex.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/list_functions.bash"
diff --git a/paludis/repositories/e/ebuild/6/CMakeLists.txt b/paludis/repositories/e/ebuild/6/CMakeLists.txt
index 8693c86..cec4f18 100644
--- a/paludis/repositories/e/ebuild/6/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/6/CMakeLists.txt
@@ -1,5 +1,5 @@
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/build_functions.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/list_functions.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/multilib_functions.bash"
diff --git a/paludis/repositories/e/ebuild/CMakeLists.txt b/paludis/repositories/e/ebuild/CMakeLists.txt
index f305334..4adf917 100644
--- a/paludis/repositories/e/ebuild/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/CMakeLists.txt
@@ -15,7 +15,7 @@ paludis_add_test(kernel_functions BASH
EBUILD_MODULE_SUFFIXES 0
TEST_RUNNER "${CMAKE_CURRENT_SOURCE_DIR}/run_test.bash")
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/binary_functions.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/die_functions.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/ebuild.bash"
diff --git a/paludis/repositories/e/ebuild/exheres-0/CMakeLists.txt b/paludis/repositories/e/ebuild/exheres-0/CMakeLists.txt
index 4d114d4..78da9f4 100644
--- a/paludis/repositories/e/ebuild/exheres-0/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/exheres-0/CMakeLists.txt
@@ -1,7 +1,7 @@
paludis_add_test(conditional_functions BASH EBUILD_MODULE_SUFFIXES exheres-0)
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/build_functions.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/builtin_infovars.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/builtin_init.bash"
diff --git a/paludis/repositories/e/ebuild/paludis-1/CMakeLists.txt b/paludis/repositories/e/ebuild/paludis-1/CMakeLists.txt
index 101a0b5..cc2ee90 100644
--- a/paludis/repositories/e/ebuild/paludis-1/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/paludis-1/CMakeLists.txt
@@ -1,5 +1,5 @@
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/output_functions.bash"
DESTINATION
"${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis/paludis-1")
diff --git a/paludis/repositories/e/ebuild/pbin-1/CMakeLists.txt b/paludis/repositories/e/ebuild/pbin-1/CMakeLists.txt
index 4d4dc44..f39bd25 100644
--- a/paludis/repositories/e/ebuild/pbin-1/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/pbin-1/CMakeLists.txt
@@ -1,5 +1,5 @@
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/builtin_installbin.bash"
"${CMAKE_CURRENT_SOURCE_DIR}/builtin_pivotbin.bash"
DESTINATION
diff --git a/paludis/repositories/e/ebuild/utils/5/CMakeLists.txt b/paludis/repositories/e/ebuild/utils/5/CMakeLists.txt
index 29a19c7..12debf6 100644
--- a/paludis/repositories/e/ebuild/utils/5/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/utils/5/CMakeLists.txt
@@ -1,5 +1,5 @@
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/doheader"
"${CMAKE_CURRENT_SOURCE_DIR}/newheader"
DESTINATION
diff --git a/paludis/repositories/e/ebuild/utils/CMakeLists.txt b/paludis/repositories/e/ebuild/utils/CMakeLists.txt
index 9b34bed..6633a31 100644
--- a/paludis/repositories/e/ebuild/utils/CMakeLists.txt
+++ b/paludis/repositories/e/ebuild/utils/CMakeLists.txt
@@ -28,7 +28,7 @@ paludis_add_test(wrapped_getfsize BASH
EBUILD_MODULE_SUFFIXES 0
TEST_RUNNER "${CMAKE_CURRENT_SOURCE_DIR}/run_test.bash")
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/canonicalise"
"${CMAKE_CURRENT_SOURCE_DIR}/dobin"
"${CMAKE_CURRENT_SOURCE_DIR}/doconfd"
diff --git a/paludis/syncers/CMakeLists.txt b/paludis/syncers/CMakeLists.txt
index e13cc67..b42343e 100644
--- a/paludis/syncers/CMakeLists.txt
+++ b/paludis/syncers/CMakeLists.txt
@@ -50,7 +50,7 @@ add_custom_target(syncers-keep
DEPENDS
"${CMAKE_CURRENT_BINARY_DIR}/.keep")
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_BINARY_DIR}/dobzr"
"${CMAKE_CURRENT_BINARY_DIR}/dobzr+aftp"
"${CMAKE_CURRENT_BINARY_DIR}/dobzr+file"
diff --git a/paludis/util/CMakeLists.txt b/paludis/util/CMakeLists.txt
index c8b1093..8b90e0a 100644
--- a/paludis/util/CMakeLists.txt
+++ b/paludis/util/CMakeLists.txt
@@ -252,7 +252,7 @@ install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/log-se.hh"
DESTINATION
"${CMAKE_INSTALL_FULL_INCLUDEDIR}/paludis-${PALUDIS_PKG_CONFIG_SLOT}/paludis/util")
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_BINARY_DIR}/echo_functions.bash"
DESTINATION
"${CMAKE_INSTALL_FULL_LIBEXECDIR}/paludis")
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 7ff904a..fb130e1 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -123,7 +123,7 @@ if(ENABLE_PYTHON)
paludis
DESTINATION
"${PALUDIS_PYTHON_INSTALL_DIR}")
- install(FILES
+ install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/paludis_output_wrapper.py"
DESTINATION
"${PALUDIS_PYTHON_INSTALL_DIR}")
diff --git a/ruby/demos/CMakeLists.txt b/ruby/demos/CMakeLists.txt
index 5f5294d..8757c2a 100644
--- a/ruby/demos/CMakeLists.txt
+++ b/ruby/demos/CMakeLists.txt
@@ -4,13 +4,13 @@ if(ENABLE_RUBY)
"
execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink \"${CMAKE_INSTALL_FULL_DATADIR}/paludis/ruby/demos/playman.rb\" \"${CMAKE_CURRENT_BINARY_DIR}/playman\")
")
- install(FILES
+ install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/version_spec_distributions.rb"
"${CMAKE_CURRENT_SOURCE_DIR}/latest_stable.rb"
"${CMAKE_CURRENT_SOURCE_DIR}/playman.rb"
DESTINATION
"${CMAKE_INSTALL_FULL_DATADIR}/paludis/ruby/demos")
- install(FILES
+ install(PROGRAMS
"${CMAKE_CURRENT_BINARY_DIR}/playman"
DESTINATION
"${CMAKE_INSTALL_FULL_BINDIR}")
diff --git a/src/clients/cave/CMakeLists.txt b/src/clients/cave/CMakeLists.txt
index 4611268..1ab213b 100644
--- a/src/clients/cave/CMakeLists.txt
+++ b/src/clients/cave/CMakeLists.txt
@@ -297,7 +297,7 @@ foreach(subcommand ${CAVE_SUBCOMMANDS})
DESTINATION
"${CMAKE_INSTALL_FULL_MANDIR}/man1")
endforeach()
-install(FILES
+install(PROGRAMS
"${CMAKE_CURRENT_SOURCE_DIR}/moo"
DESTINATION
"${CMAKE_INSTALL_FULL_LIBEXECDIR}/cave/commands")