File: 20_usrsharedoc.diff

package info (click to toggle)
luminance-hdr 2.6.1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 34,788 kB
  • sloc: cpp: 43,954; ansic: 4,122; xml: 116; makefile: 20; sh: 7
file content (31 lines) | stat: -rw-r--r-- 1,530 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Install documentation to /usr/share/doc
 Install docs to /usr/share/doc/luminance-hdr instead of
 /usr/share/luminance-hdr
Author: Andreas Metzler <ametzler@debian.org>
Reviewed-by: Leonardo Monteccchi <lmontecchi@montex.org>
Last-Update: 2019-08-22

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -418,8 +418,8 @@ ELSEIF(UNIX)
     ${CMAKE_SOURCE_DIR}/README.md
     ${CMAKE_SOURCE_DIR}/LICENSE
     ${CMAKE_SOURCE_DIR}/Changelog
-    DESTINATION share/luminance-hdr/doc) #info files
-    INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/help DESTINATION share/luminance-hdr) # help directory
+    DESTINATION share/doc/luminance-hdr) #info files
+    INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/help DESTINATION share/doc/luminance-hdr) # help directory
     INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/hdrhtml DESTINATION share/luminance-hdr) # hdrhtml directory
 # Microsoft Windows
 ELSEIF(WIN32)
--- a/build_files/Modules/Internationalization.cmake
+++ b/build_files/Modules/Internationalization.cmake
@@ -8,7 +8,7 @@ ELSEIF(UNIX)
 # ADD_DEFINITIONS(-DI18NDIR="${CMAKE_INSTALL_PREFIX}/share/luminance-hdr/i18n")
 SET(BASEDIR "\"${CMAKE_INSTALL_PREFIX}\"")
 SET(I18NDIR "\"${CMAKE_INSTALL_PREFIX}/share/luminance-hdr/i18n\"")
-SET(HELPDIR "\"${CMAKE_INSTALL_PREFIX}/share/luminance-hdr/help\"")
+SET(HELPDIR "\"${CMAKE_INSTALL_PREFIX}/share/doc/luminance-hdr/help\"")
 SET(HDRHTMLDIR "\"${CMAKE_INSTALL_PREFIX}/share/luminance-hdr/hdrhtml\"")
 ELSEIF(WIN32)
 # ADD_DEFINITIONS(-DI18NDIR=QCoreApplication::applicationDirPath\(\)+"/i18n")