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

Re: dh_installman and camel case name in .TH (repost)



Ole Streicher <olebole@debian.org> writes:
> Russ Allbery <rra@debian.org> writes:

>> This is arguably a bug in te dh_installman documentation.  It takes the
>> section component of the man page name from the .TH line, but the name
>> component is taken from the basename of the source file.  So you need to
>> rename funopen.3 to FunOpen.3, and then it should install in the correct
>> location.

> .... which is rather difficult to fix.

> Is there a reason why the name is not taken from the manpage?

Yes, the name given in .TH is traditionally in all uppercase regardless of
the case of the thing being documented.  So this would get the
capitalization of the installed man page wrong in many (most?) situations.

Another option is to not use dh_installman to install the man pages and
instead use explicit install / cp commands in debian/rules to put them in
the correct path under usr/share/man?/ in the package build directory.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: