aboutsummaryrefslogtreecommitdiff
path: root/ruby
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 /ruby
parent8a03f3b8e74d234a01e3b44972542cff30fd6524 (diff)
downloadpaludis-e8889f3e5cd78d94edc466e5e604ae3e40748cec.tar.gz
paludis-e8889f3e5cd78d94edc466e5e604ae3e40748cec.tar.xz
build: Install bash scripts as 'PROGRAMS'
...to make them executable.
Diffstat (limited to 'ruby')
-rw-r--r--ruby/demos/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/demos/CMakeLists.txt b/ruby/demos/CMakeLists.txt
index 5f5294da2..8757c2a04 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}")