man pages are not installed correctly #467

Open
opened 2021-09-13 22:48:01 -06:00 by onlyjob · 0 comments
onlyjob commented 2021-09-13 22:48:01 -06:00 (Migrated from github.com)

Man pages are not installed to correct location.
.1 and .5 man pages should be installed to /usr/share/man/man1 and /usr/share/man/man5 respectively.
The following patch makes the necessary corrections:

--- a/man/CMakeLists.txt
+++ b/man/CMakeLists.txt
@@ -1,4 +1,7 @@
-install(FILES bnbot.1 bnchat.1 bnetd.1 bnetd.conf.5 bnftp.1 bni2tga.1 
+install(FILES bnbot.1 bnchat.1 bnetd.1 bnftp.1 bni2tga.1 
     bnibuild.1 bniextract.1 bnilist.1 bnpass.1 bnpcap.1 bnproxy.1 bnstat.1 
-    bntext.5 bntrackd.1 tgainfo.1
-    DESTINATION ${MANDIR})
+    bntrackd.1 tgainfo.1
+    DESTINATION ${MAN_INSTALL_DIR}/man1)
+
+install(FILES bnetd.conf.5 bntext.5
+    DESTINATION ${MAN_INSTALL_DIR}/man5)
Man pages are not installed to correct location. `.1` and `.5` man pages should be installed to `/usr/share/man/man1` and `/usr/share/man/man5` respectively. The following patch makes the necessary corrections: ``` --- a/man/CMakeLists.txt +++ b/man/CMakeLists.txt @@ -1,4 +1,7 @@ -install(FILES bnbot.1 bnchat.1 bnetd.1 bnetd.conf.5 bnftp.1 bni2tga.1 +install(FILES bnbot.1 bnchat.1 bnetd.1 bnftp.1 bni2tga.1 bnibuild.1 bniextract.1 bnilist.1 bnpass.1 bnpcap.1 bnproxy.1 bnstat.1 - bntext.5 bntrackd.1 tgainfo.1 - DESTINATION ${MANDIR}) + bntrackd.1 tgainfo.1 + DESTINATION ${MAN_INSTALL_DIR}/man1) + +install(FILES bnetd.conf.5 bntext.5 + DESTINATION ${MAN_INSTALL_DIR}/man5) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Techwizz/pvpgn-server#467
No description provided.