]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh
Correct docs about multiarch and v9. Closes: #630826
[debhelper.git] / dh
diff --git a/dh b/dh
index 2eda3353fab9d0d969e5a243a78b98e9fe8b97c5..aba8c270efb29d8bc9c4ebbcec67e14775d63b58 100755 (executable)
--- a/dh
+++ b/dh
@@ -278,6 +278,9 @@ options can override this behavior.
 A sequence can also run dependent targets in debian/rules.  For
 example, the "binary" sequence runs the "install" target.
 
+B<dh> sets environment variables listed by B<dpkg-buildflags>, unless
+they are already set. It supports DEB_BUILD_OPTIONS=noopt too.
+
 B<dh> uses the B<DH_INTERNAL_OPTIONS> environment variable to pass information
 through to debhelper commands that are run inside override targets. The
 contents (and indeed, existence) of this environment variable, as the name
@@ -315,7 +318,7 @@ init(options => {
        bundling => 0,
 );
 inhibit_log();
-
+set_buildflags();
 
 # If make is using a jobserver, but it is not available
 # to this process, clean out MAKEFLAGS. This avoids
@@ -801,7 +804,7 @@ sub rules_target {
 }
 
 sub rules {
-       return "debian/rules ".@_;
+       return "debian/rules ".join(" ", @_);
 }
 
 {