weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #36776] Correct manpage install path


From: Simon
Subject: [Weechat-dev] [bug #36776] Correct manpage install path
Date: Tue, 03 Jul 2012 14:01:41 +0000
User-agent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.10.289 Version/12.00

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]