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

Re: Translated manual pages & dh_installman behaviour

Raphael Hertzog wrote:
> Joey, would it be possible to also extract the language code from the
> path when the dirname matches m{/man/([a-z][a-z](?:_[A-Z][A-Z])?)/man\d$} ?
> It's specific enough to avoid wrong guesses and it seems to make sense
> when you want to use dh_installman to install manual pages taken out of
> debian/tmp as is the case here:
> $ head -n 4 debian/dpkg.manpages 
> debian/tmp/usr/share/man/*/*/dpkg-deb.1
> debian/tmp/usr/share/man/*/dpkg-deb.1
> debian/tmp/usr/share/man/*/*/dpkg-divert.8
> debian/tmp/usr/share/man/*/dpkg-divert.8

If your manual pages are already being installed to the correct
directories, you don't need to use dh_installman to install them,
you can just use dh_install. dh_installman will find man pages installed
by dh_install and do utf-8 fixups etc to them as needed.

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: