summaryrefslogtreecommitdiff
blob: c88f6cc3977b7c709012a41a214b6b7532de3eca (plain)
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
32
33
34
35
36
37
38
39
From 4691956375fae84dcfaeb96c1a204a113d8e5a99 Mon Sep 17 00:00:00 2001
From: Jakov Smolic <jakov.smolic@sartura.hr>
Date: Tue, 18 Aug 2020 13:22:52 +0200
Subject: [PATCH] doc: install manpages in standard directory

Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
---
 doc/man/man1/CMakeLists.txt | 4 ++--
 doc/man/man3/CMakeLists.txt | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/man/man1/CMakeLists.txt b/doc/man/man1/CMakeLists.txt
index 053dc42..0da441c 100644
--- a/doc/man/man1/CMakeLists.txt
+++ b/doc/man/man1/CMakeLists.txt
@@ -1,4 +1,4 @@
 install(
     FILES telnet-chatd.1 telnet-client.1 telnet-proxy.1
-    DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1
-)
\ No newline at end of file
+    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1
+)
diff --git a/doc/man/man3/CMakeLists.txt b/doc/man/man3/CMakeLists.txt
index b126fea..af40a92 100644
--- a/doc/man/man3/CMakeLists.txt
+++ b/doc/man/man3/CMakeLists.txt
@@ -14,5 +14,5 @@ install(
         ${CMAKE_CURRENT_BINARY_DIR}/telnet_event_t_zmp_t.3
         ${CMAKE_CURRENT_BINARY_DIR}/telnet_event_t_mssp_t.3
         ${CMAKE_CURRENT_BINARY_DIR}/telnet_telopt_t.3
-    DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man3
-)
\ No newline at end of file
+    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man3
+)
-- 
2.26.2