summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorPaul Tagliamonte <paultag@debian.org>2017-12-12 23:35:39 -0500
committerNiels Thykier <niels@thykier.net>2017-12-29 12:54:03 +0000
commit6bd40b18f8fbe69e2f5b0f3f2dd2795f78b2f042 (patch)
treefb835155abf88215481dd4937da661c226b989b9 /dh
parenta66a5dfe40ce23d585db0174f4f90adb072eeeb6 (diff)
downloaddebhelper-6bd40b18f8fbe69e2f5b0f3f2dd2795f78b2f042.tar.gz
Add DH_EXTRA_ADDONS env variable to specify local addons.
This is intended to be used by downstreams or specific local configurations that require a debhelper addon to be run during multiple builds without having to patch a large number of rules file. If at all possible, this should be avoided in favor of a --with flag in the rules file. Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh')
-rwxr-xr-xdh1
1 files changed, 1 insertions, 0 deletions
diff --git a/dh b/dh
index 3d268268..344d4e93 100755
--- a/dh
+++ b/dh
@@ -303,6 +303,7 @@ if (not compat(9, 1)) {
unshift(@ARGV, "--with=build-stamp");
}
+push @{$dh{WITH}},split(",", $ENV{DH_EXTRA_ADDONS});
inhibit_log();