summaryrefslogtreecommitdiff
path: root/doc/PROGRAMMING
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2015-01-08 20:44:33 +0100
committerNiels Thykier <niels@thykier.net>2015-01-08 20:45:46 +0100
commite96784d328dfd6b701355a5b7f190b8f4526f59d (patch)
treed13fae0e2c7fb95c06c6cdd3e0c083893a1e824c /doc/PROGRAMMING
parent16e72623aef639ae4fb67cf4a365adc10dd6865c (diff)
downloaddebhelper-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/PROGRAMMING15
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:
---------------