add FindRuby patch from fedora
[packages/cmake.git] / cmake-helpers.patch
CommitLineData
9ec4f08d
KK
1--- a/Docs/bash-completion/CMakeLists.txt 2012-08-09 20:15:18.000000000 +0200
2+++ b/Docs/bash-completion/CMakeLists.txt 2012-08-15 13:46:38.124245369 +0200
3@@ -5,4 +5,4 @@
4 # add symlinks to the files in appropriate places
5 # /etc/bash_completion.d/
6 # DATADIR/completions (may be /usr/share/<package>/completions
7-install(FILES cmake cpack ctest DESTINATION ${REL_CMAKE_DATA_DIR}/completions)
8+install(FILES cmake cpack ctest DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/bash_completion.d)
9--- a/Docs/CMakeLists.txt 2012-08-09 20:15:18.000000000 +0200
10+++ b/Docs/CMakeLists.txt 2012-08-16 13:29:07.401201870 +0200
11@@ -1,4 +1,4 @@
12 string(REGEX REPLACE "^/(.*)" "\\1" REL_CMAKE_DATA_DIR "${CMAKE_DATA_DIR}")
13 install(FILES cmake-help.vim cmake-indent.vim cmake-syntax.vim DESTINATION ${REL_CMAKE_DATA_DIR}/editors/vim)
14-install(FILES cmake-mode.el DESTINATION ${REL_CMAKE_DATA_DIR}/editors/emacs)
15+install(FILES cmake-mode.el DESTINATION ${CMAKE_INSTALL_DATADIR}/emacs/site-lisp)
16 ADD_SUBDIRECTORY (bash-completion)
This page took 0.049379 seconds and 4 git commands to generate.