File: 0003-avoid-installing-another-copy-of-GPLv2.patch

package info (click to toggle)
os-autoinst 4.6.1674476646.0798a03c-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 35,292 kB
  • sloc: perl: 21,646; cpp: 1,584; sh: 243; python: 223; xml: 57; makefile: 45
file content (21 lines) | stat: -rw-r--r-- 677 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Philip Hands <phil@hands.com>
Date: Wed, 29 Sep 2021 11:57:35 +0200
Subject: avoid installing another copy of GPLv2

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc08160..db98e3b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -199,7 +199,7 @@ install(
     DESTINATION "${CMAKE_INSTALL_BINDIR}"
     PERMISSIONS ${EXECUTABLE_PERMISSIONS}
 )
-foreach (FILE README.asciidoc COPYING ${GENERATED_DOC_FILES})
+foreach (FILE README.asciidoc ${GENERATED_DOC_FILES})
     install(FILES "${FILE}" DESTINATION "${OS_AUTOINST_DOC_DIR}")
 endforeach ()
 foreach (FILE ${PERL_FILES} ${MISC_FILES})