From fd04390350046c0edc8f21c0c8baf4ae0313a00a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 5 May 2013 13:32:18 -0400 Subject: dh: Skips running commands that it can tell do nothing. This is determined by the presence of special PROMISE directives within commands that provide a high-level description of the command. Note that when dh is passed additional debhelper options, it cannot tell if these change the behavior of commands, and so it stops skipping any commands. --- dh_ucf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dh_ucf') diff --git a/dh_ucf b/dh_ucf index 40a71c2b..98fc4ae9 100755 --- a/dh_ucf +++ b/dh_ucf @@ -54,6 +54,8 @@ instances of the same text to be added to maintainer scripts. init(); +# PROMISE: DH NOOP WITHOUT ucf + foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); my $file=pkgfile($package,"ucf"); -- cgit v1.2.3