[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:

> Following the man page of dh_installman:

> | If you have a properly formatted .TH or .Dt line, your man page will
> | be installed into the right directory, with the right name

> I thought I could just change the name in the TH line:

> -----------------8<------------------------
> [...]
> ..TH FunOpen 3 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
> [...]
> -----------------8<------------------------

> to get the correct man page. However, the manpage is still installed as
> funopen.3 -- contrary to the dh_installman documentation shown above.

> Is this a bug in dh_installman, and how can I fix this (without renaming
> all manpage files, which is much harder then just patching them)?

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.

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


Reply to: