Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

man pages are not installed correctly #467

Open
onlyjob opened this issue Sep 14, 2021 · 0 comments
Open

man pages are not installed correctly #467

onlyjob opened this issue Sep 14, 2021 · 0 comments

Comments

@onlyjob
Copy link

onlyjob commented Sep 14, 2021

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant