Ubuntu Manpages

dh_installexamples

install example files into package build directories

dh_installexamples [debhelper options] [-A] [-Xitem] [file ...]

dh_installexamples is a debhelper program that is responsible for installing examples into usr/share/doc/package/examples in package build directories.

Lists example files or directories to be installed.

Install any files specified by command line parameters in ALL packages acted on.
Exclude files that contain item anywhere in their filename from being installed.
Install these files (or directories) as examples into the first package acted on. (Or into all packages if -A is specified.)

Note that dh_installexamples will happily copy entire directory hierarchies if you ask it to (similar to cp -a). If it is asked to install a directory, it will install the complete contents of the directory.

debhelper(7)

This program is a part of debhelper.

Joey Hess <joeyh@debian.org>