]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh
dh: Document --no-act. Closes: #557505
[debhelper.git] / dh
diff --git a/dh b/dh
index cd2f9f0870598da3650df0b46241f483757bf88d..11fb27b440854b74a2661317a8357c364f412314 100755 (executable)
--- a/dh
+++ b/dh
@@ -78,6 +78,10 @@ Run commands in the sequence that come after I<cmd>.
 
 Run all commands in the sequence that have yet to be run.
 
+=item B<--no-act>
+
+Prints commands that would run for a given sequence, but does not run them.
+
 =back
 
 All other options passed to dh are passed on to each command it runs. This
@@ -225,6 +229,13 @@ init(options => {
 });
 inhibit_log();
 
+# If make is using a jobserver, but it is not available
+# to this process, clean out MAKEFLAGS. This avoids
+# ugly warnings when calling make.
+if (is_make_jobserver_unavailable()) {
+       clean_jobserver_makeflags();
+}
+
 # Definitions of sequences.
 my %sequences;
 $sequences{build} = [qw{