Drop install-path.patch
Markus Koschany
6 years ago
0 | From: Markus Koschany <apo@debian.org> | |
1 | Date: Sun, 5 Jun 2016 19:43:37 +0200 | |
2 | Subject: install path | |
3 | ||
4 | Forwarded: not-needed | |
5 | --- | |
6 | CMakeLists.txt | 4 ++-- | |
7 | 1 file changed, 2 insertions(+), 2 deletions(-) | |
8 | ||
9 | diff --git a/CMakeLists.txt b/CMakeLists.txt | |
10 | index 4cc2e37..754cdd5 100644 | |
11 | --- a/CMakeLists.txt | |
12 | +++ b/CMakeLists.txt | |
13 | @@ -9,7 +9,7 @@ set(INSTALL_DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/blockattack" CACHE STRING "I | |
14 | set(INSTALL_MAN_DIR "/usr/share/man/man6" CACHE STRING "Install the man page to this directory") | |
15 | set(INSTALL_APPLICATIONS_DIR "/usr/share/applications" CACHE STRING "Install the .desktop file to this directory") | |
16 | set(INSTALL_ICONS_DIR "/usr/share/icons/hicolor" CACHE STRING "Install the icon in a subfolder in this directory") | |
17 | -set(INSTALL_LOCALE_DIR "${INSTALL_DATA_DIR}/locale/" CACHE STRING "Install translation to this dir") | |
18 | +set(INSTALL_LOCALE_DIR "/usr/share/locale/" CACHE STRING "Install translation to this dir") | |
19 | ||
20 | # This sets up the exe icon for windows under mingw. | |
21 | # Taken from https://hansonry.wordpress.com/2010/12/15/windows-application-icon-using-mingw-and-cmake/ | |
22 | @@ -80,4 +80,4 @@ install(FILES source/misc/icons/blockattack128.xpm DESTINATION "${INSTALL_ICONS_ | |
23 | install(FILES source/misc/icons/blockattack256.xpm DESTINATION "${INSTALL_ICONS_DIR}/256x256/apps" RENAME blockattack.xpm ) | |
24 | install(FILES source/misc/icons/blockattack64.xpm DESTINATION "${INSTALL_ICONS_DIR}/64x64/apps" RENAME blockattack.xpm ) | |
25 | install(FILES source/misc/icons/blockattack32.xpm DESTINATION "${INSTALL_ICONS_DIR}/32x32/apps" RENAME blockattack.xpm ) | |
26 | -install(DIRECTORY source/misc/translation/locale/ DESTINATION "${INSTALL_LOCALE_DIR}") | |
27 | \ No newline at end of file | |
28 | +install(DIRECTORY source/misc/translation/locale/ DESTINATION "${INSTALL_LOCALE_DIR}") |