dh_installmanpages - Linux
Overview
dh_installmanpages
helps Debian packages install man pages to the proper location in the file system. It complements fakeroot
and other tools assisting in package development.
Syntax
dh_installmanpages [DEBIAN_MAN_DIR]
Options/Flags
| Flag | Description | Default |
|—|—|—|
| DEBIAN_MAN_DIR
| Specify the man directory in the Debian source | /usr/share/man
|
Examples
To install man pages to the /usr/share/man
directory, run:
dh_installmanpages
To install man pages to a custom directory, specify DEBIAN_MAN_DIR
:
dh_installmanpages /my/custom/man/dir
Common Issues
If man pages are not successfully installed, ensure that the DEBIAN_MAN_DIR
is set correctly.
Integration
dh_installmanpages
is used in conjunction with other Debian packaging tools, such as dpkg-buildpackage
, for creating and managing Debian packages.
Related Commands
dpkg-buildpackage
lintian