e8889f3e5c
...to make them executable.
19 lines
674 B
CMake
19 lines
674 B
CMake
|
|
if(ENABLE_RUBY)
|
|
install(CODE
|
|
"
|
|
execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink \"${CMAKE_INSTALL_FULL_DATADIR}/paludis/ruby/demos/playman.rb\" \"${CMAKE_CURRENT_BINARY_DIR}/playman\")
|
|
")
|
|
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(PROGRAMS
|
|
"${CMAKE_CURRENT_BINARY_DIR}/playman"
|
|
DESTINATION
|
|
"${CMAKE_INSTALL_FULL_BINDIR}")
|
|
endif()
|
|
|