[debhelper-devel] [debhelper] 07/17: dh_installexamples: Log installed examples

Niels Thykier nthykier at moszumanska.debian.org
Thu Jun 29 15:49:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit ec16ce564d528d1321fa77b954744eaf7de2ed57
Author: Niels Thykier <niels at thykier.net>
Date:   Thu Jun 29 07:38:04 2017 +0000

    dh_installexamples: Log installed examples
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_installexamples | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dh_installexamples b/dh_installexamples
index 56d4e44..0956d6c 100755
--- a/dh_installexamples
+++ b/dh_installexamples
@@ -71,7 +71,7 @@ my $nodocs = is_build_profile_active('nodoc') ? 1 : 0;
 # or dh_missing might make noise.
 $error_handler = \&glob_expand_error_handler_silently_ignore if $nodocs;
 
-foreach my $package (@{$dh{DOPACKAGES}}) {
+foreach my $package (getpackages()) {
 	next if is_udeb($package);
 
 	my $tmp=tmpdir($package);
@@ -87,7 +87,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 		push @examples, @ARGV;
 	}
 
-	next if $nodocs;
+	log_installed_files($package, @examples);
+
+	next if not process_pkg($package) or $nodocs;
 
 	if (@examples) {
 		install_dir("$tmp/usr/share/doc/$package/examples");

-- 
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