File: rename-pdf.patch

package info (click to toggle)
gdcm 3.0.24-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,840 kB
  • sloc: cpp: 203,722; ansic: 76,471; xml: 48,131; python: 3,473; cs: 2,308; java: 1,629; lex: 1,290; sh: 334; php: 128; makefile: 97
file content (20 lines) | stat: -rw-r--r-- 670 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
20
From: Gert Wollny <gw.fossdev@gmail.com>
Date: Sat, 8 Aug 2020 09:46:02 +0200
Subject: rename pdf based on major version

---
 Utilities/doxygen/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Utilities/doxygen/CMakeLists.txt b/Utilities/doxygen/CMakeLists.txt
index c53a877..9eea710 100644
--- a/Utilities/doxygen/CMakeLists.txt
+++ b/Utilities/doxygen/CMakeLists.txt
@@ -160,6 +160,7 @@ if(GDCM_DOCUMENTATION)
     install(FILES
       ${CMAKE_CURRENT_BINARY_DIR}/latex/gdcm-${GDCM_VERSION}.pdf
       DESTINATION ${GDCM_INSTALL_DOC_DIR}
+      RENAME gdcm-${GDCM_MAJOR_VERSION}.pdf
     )
     add_dependencies(DoxygenDoc GDCMDoxygenPDF)
   else()