Skip to content

man pages are not installed correctly #467

Description

@onlyjob

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions