Scroll to navigation

DH_INSTALLEXAMPLES(1) Debhelper DH_INSTALLEXAMPLES(1)

名前

dh_installexamples - 参考ファイルをビルドディレクトリへインストールする

書式

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

説明

dh_installexamples はパッケージビルドディレクトリにある usr/share/doc/package/examples へ参考ファイルをインストールする役割の debhelper プログラムです。

ファイル

Lists example files or directories to be installed.

オプション

Install any files specified by command line parameters in ALL packages acted on.
Look in the specified directory for files to be installed. This option requires compat 11 or later (it is silently ignored in compat 10 or earlier).

Note that this is not the same as the --sourcedirectory option used by the dh_auto_* commands. You rarely need to use this option, since dh_installexamples automatically looks for files in debian/tmp in debhelper compatibility level 11 and above.

item をファイル名の一部として含んでいるファイルをインストール候補から除外します。
作業を行う最初のパッケージに、指定されたファイル (あるいはディレクトリ) を例を示す物としてインストールします (あるいは、-Aが指定された場合は、全てのパッケージに対してインストールを行います)。

付記

特記すべき事として、もし指定されれば (cp -a のように) 、ディレクトリ以下まるごとコピーするようにすると便利です。もし、インストールもとディレクトリを指定すれば、このコマンドはディレクトリ以下全部をインストールします。

参照

debhelper(7)

このプログラムは debhelper の一部です。

作者

Joey Hess <joeyh@debian.org>

2017-08-01 10.7.2