diff options
Diffstat (limited to 'community/stlink/0001-doc-man-Fix-installation-directory.patch')
-rw-r--r-- | community/stlink/0001-doc-man-Fix-installation-directory.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/stlink/0001-doc-man-Fix-installation-directory.patch b/community/stlink/0001-doc-man-Fix-installation-directory.patch new file mode 100644 index 0000000000..97ee8524da --- /dev/null +++ b/community/stlink/0001-doc-man-Fix-installation-directory.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From 2016590502558caa98c21abad2ce83c5f4804a98 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net> | ||
3 | Date: Mon, 1 Jun 2020 00:20:26 +0200 | ||
4 | Subject: [PATCH] doc/man: Fix installation directory | ||
5 | |||
6 | On Unix-like operating systems man pages are commonly installed to | ||
7 | `/usr/share/man` not `/usr/share/stlink/man`. | ||
8 | --- | ||
9 | doc/man/CMakeLists.txt | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt | ||
13 | index 23da9e1..9b3c507 100644 | ||
14 | --- a/doc/man/CMakeLists.txt | ||
15 | +++ b/doc/man/CMakeLists.txt | ||
16 | @@ -30,7 +30,7 @@ foreach (manpage ${MANPAGES}) | ||
17 | endif () | ||
18 | |||
19 | if (f AND NOT WIN32) | ||
20 | - install(FILES ${f} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}/man/man1) | ||
21 | + install(FILES ${f} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man1) | ||
22 | unset(f) | ||
23 | endif () | ||
24 | endforeach () | ||