URL:
<http://savannah.nongnu.org/bugs/?36776>
Summary: Correct manpage install path
Project: WeeChat
Submitted by: foobar23
Submitted on: Tue 03 Jul 2012 02:01:40 PM GMT
Category: None
Severity: 3 - Normal
Item Group: documentation
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 0.3.9-dev
IRC nick:
_______________________________________________________
Details:
While creating the OpenBSD port I stumbled upon the "bug" that weechat does
not install the man page to the correct path.
In doc/CMakeLists.txt you hardcode ${SHAREDIR}/man/man1 which is not always
correct (under OpenBSD manpages are in /usr/local/man not /usr/local/share/man
for example).
According to this: http://www.cmake.org/cmake/help/v2.8.8/cmake.html
cmake sets a variable called CMAKE_INSTALL_MANDIR which should be used in this
case.
I attached two approaches to this:
o just replace SHAREDIR with CMAKE_INSTALL_MANDIR in doc/CMakeLists.txt
o make MANDIR a new cmake option (using CMAKE_INSTALL_MANDIR as default)
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?36776>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev