diff options
author | Niels Thykier <niels@thykier.net> | 2015-01-08 20:44:33 +0100 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2015-01-08 20:45:46 +0100 |
commit | e96784d328dfd6b701355a5b7f190b8f4526f59d (patch) | |
tree | d13fae0e2c7fb95c06c6cdd3e0c083893a1e824c /doc/PROGRAMMING | |
parent | 16e72623aef639ae4fb67cf4a365adc10dd6865c (diff) | |
download | debhelper-e96784d328dfd6b701355a5b7f190b8f4526f59d.tar.gz |
doc/PROGRAMMING: Document install_{dir,file,prog,lib}
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'doc/PROGRAMMING')
-rw-r--r-- | doc/PROGRAMMING | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index e16975f0..bca2312a 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -283,6 +283,21 @@ install_dh_config_file($src, $dest[, $mode]) compat is 9 (or later) and $src is executable, $src will be executed instead and its output will be used to generate the $dest file. +install_dir($dir) + Create the directory denoted by the path $dir and all parent + entries as well (as needed). +install_file($src, $dest) + Installs $src into $dest with mode 0644. The parent dir of + $dest must exist (can be created with install_dir). + This is intended for installing regular non-executable files. +install_prog($src, $dest) + Installs $src into $dest with mode 0755. The parent dir of + $dest must exist (can be created with install_dir). + This is intended for installing scripts or binaries. +install_lib($src, $dest) + Installs a library at the path $src into $dest. The parent + dir of $dest must exist (can be created with install_dir). + This is intended for installing libraries. Sequence Addons: --------------- |