From e96784d328dfd6b701355a5b7f190b8f4526f59d Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Thu, 8 Jan 2015 20:44:33 +0100 Subject: doc/PROGRAMMING: Document install_{dir,file,prog,lib} Signed-off-by: Niels Thykier --- doc/PROGRAMMING | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/PROGRAMMING') 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: --------------- -- cgit v1.2.3