diff options
author | Niels Thykier <niels@thykier.net> | 2015-01-03 12:49:00 +0100 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2015-01-03 12:49:00 +0100 |
commit | 84c0a76c7d528873f1c8e7c800e026bfdfc8def2 (patch) | |
tree | f86dcac5f99820e0b2f6f74917fa0ba0620c06ae /doc/PROGRAMMING | |
parent | a04b4f887641fc1fbd92b3ccd5eb3cd0ef954b8b (diff) | |
download | debhelper-84c0a76c7d528873f1c8e7c800e026bfdfc8def2.tar.gz |
Add install_dh_config_file and exec lintian-overrides (compat 9)
Add a install_dh_config_file to install or execute and create a file
from the output of a debhelper config file
(e.g. debian/lintian-overrides). Use this subroutine in dh_lintian
to install the lintian-overrides.
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'doc/PROGRAMMING')
-rw-r--r-- | doc/PROGRAMMING | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index 8723e4fc..6ba207f1 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -267,6 +267,11 @@ make_symlink($src, $dest, $tmp) Creates a Policy compliant sytem link called $dest pointing to $src. If $tmp is given, then $tmp will be prefixed to $dest when creating the actual symlink. +install_dh_config_file($src, $dest[, $mode]) + Installs $src into $dest with $mode (defaults to 0644). If + 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. Sequence Addons: --------------- |