[debhelper-devel] [debhelper] 06/07: doc/PROGRAMMING: Document install_{dir, file, prog, lib}
Niels Thykier
nthykier at moszumanska.debian.org
Thu Jan 8 19:46:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit e96784d328dfd6b701355a5b7f190b8f4526f59d
Author: Niels Thykier <niels at thykier.net>
Date: Thu Jan 8 20:44:33 2015 +0100
doc/PROGRAMMING: Document install_{dir,file,prog,lib}
Signed-off-by: Niels Thykier <niels at thykier.net>
---
doc/PROGRAMMING | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index e16975f..bca2312 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:
---------------
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list