File: fix-help-data-dir.patch

package info (click to toggle)
openorienteering-mapper 0.9.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 61,772 kB
  • sloc: cpp: 112,244; ansic: 1,448; sh: 408; java: 240; xml: 97; sed: 64; makefile: 28
file content (19 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix path to help files and QT assistant
 Install Manual and About files to /usr/share/openorienteering-mapper/doc/
 instead of /usr/share/doc/openorienteering-mapper/.
Author: Graham Inggs <ginggs@debian.org>
Forwarded: not-needed
Last-Update: 2021-09-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -125,7 +125,7 @@
 	set(MAPPER_RUNTIME_DESTINATION "${BIN_INSTALL_DIR}")
 	set(MAPPER_LIBRARY_DESTINATION "${LIB_INSTALL_DIR}")
 	set(MAPPER_DATA_DESTINATION    "${SHARE_INSTALL_DIR}/${Mapper_PACKAGE_NAME}")
-	set(MAPPER_ABOUT_DESTINATION   "${SHARE_INSTALL_DIR}/doc/${Mapper_PACKAGE_NAME}")
+	set(MAPPER_ABOUT_DESTINATION   "${SHARE_INSTALL_DIR}/${Mapper_PACKAGE_NAME}/doc")
 elseif(WIN32)
 	set(MAPPER_RUNTIME_DESTINATION .)
 	set(MAPPER_LIBRARY_DESTINATION .)