diff options
author | Niels Thykier <niels@thykier.net> | 2017-04-03 09:46:42 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-04-08 07:23:43 +0000 |
commit | 0b6764bc07a58c5513f131e36523e947f6f30785 (patch) | |
tree | 9b1cc39d6e5bcc4dd45137b0a6179dd594fc9e95 | |
parent | 26e3471f33ee27379c9dcab051dafddd4e1ba6aa (diff) | |
download | debhelper-0b6764bc07a58c5513f131e36523e947f6f30785.tar.gz |
doc/PROGRAMMING: Correct log_installed_files
After testing, it became apparent that dh_missing +
log_installed_files behaved slightly different than first anticipated.
Signed-off-by: Niels Thykier <niels@thykier.net>
-rw-r--r-- | doc/PROGRAMMING | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index 10cbade9..02362809 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -348,10 +348,15 @@ deprecated_functionality($warn_msg[, $rm_compat[, $rm_msg]]) The function will provide a separate diagnostic about which compat level that will remove/removed the functionality if $rm_compat is given. -log_installed_files($package, @patterns) +log_installed_files($package, @paths) Creates a logfile (in debian/.debhelper/generated) for the helper's processing of $package, which installed the files listed in - @patterns. This logfile will later be used by the dh_missing helper. + @paths. This logfile will later be used by the dh_missing helper. + Paths should be relative to the package root (i.e. the directory + containing "debian/") and should not have superflouos segments + (e.g. avoid "foo/../bar" or "foo/./bar") + If a directory is listed, it and all paths recursively beneath is + also considered installed. Sequence Addons: --------------- |