From 0b6764bc07a58c5513f131e36523e947f6f30785 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Mon, 3 Apr 2017 09:46:42 +0000 Subject: 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 --- doc/PROGRAMMING | 9 +++++++-- 1 file 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: --------------- -- cgit v1.2.3