dwww Home | Manual pages | Find package

DH_AUTO_INSTALL(1)                 Debhelper                DH_AUTO_INSTALL(1)

名前
       dh_auto_install - make install や類似コマンドを自動的に実行する

書式
       dh_auto_install [build system オプション] [debhelper オプション] [-- params]

説明
       dh_auto_install プログラムは、ビルドしたファイルを自動的にインストールしようとする debhelper プログラムです。パッ
       ケージが利用するビルドシステムを判定し、そのビルドシステムに対して適切なコマンドを実行することでインストールを行います。例え
       ば、Makefile が存在し、中に install ターゲットが存在する場合 (あるいは、MAKE 環境変数が設定されている場合)、make
       を実行します)。もし、setup.pyBuild.PL が存在すれば、こちらが利用されます。なお、Ant ビルドシステムはインストールを
       サポートしていません。そのため、dh_auto_install は Ant を使ってビルドしたファイルをインストールしないことに注意してくださ
       い。

       In compat 15 or later, dh_auto_install will use debian/tmp as the
       default --destdir and should be moved from there to the appropriate
       package build directory using dh_install(1) or similar tools. Though if
       the single-binary addon for dh(1) is activated, then it will pass an
       explicit --destdir=debian/package/ to dh_auto_install.

       For earlier compat levels then unless --destdir option is specified,
       the files are installed into debian/package/ if there is only one
       binary package. In the multiple binary package case, the files are
       instead installed into debian/tmp/, and should be moved from there to
       the appropriate package build directory using dh_install(1) or similar
       tools.

       DESTDIR は生成したファイルをどこに置くべきかを指定する時に利用します。もし Makefileが Makefile.PL を使って
       MakeMaker から生成される場合、生成された Makefile の為に、さらに自動的に PREFIX=/usr がインストールディレクト
       リとして指定されます。

       このコマンドはほぼ 90 %のパッケージに対してうまく動作するように設計されています。うまく動かない場合、あるいは、間違ったインストールター
       ゲットを使ってしまうような場合には、dh_auto_install を完全に省略して make install を手動で実行することを推奨しま
       す。

オプション
       "ビルドシステム用オプション" in debhelper(7) には、よく使われるビルドシステムと、制御オプションが列挙されています。

       --destdir=directory
           指定した directory 以下にファイルをインストールします。このオプションを指定しない場合、インストール先は "説明" 章で説明
           するディレクトリになるように自動的に指定されます。

       -- params
           params を実行するプログラムに渡すには、dh_auto_install に通常指定するパラメータの後に param を指定してく
           ださい。

参照
       debhelper(7)

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

作者
       Joey Hess <joeyh@debian.org>

13.11.4                           2023-01-02                DH_AUTO_INSTALL(1)

Generated by dwww version 1.15 on Mon Jul 1 05:01:43 CEST 2024.