summaryrefslogtreecommitdiffstats
path: root/tags/d/dh-exec-useless-usage.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/dh-exec-useless-usage.tag')
-rw-r--r--tags/d/dh-exec-useless-usage.tag19
1 files changed, 19 insertions, 0 deletions
diff --git a/tags/d/dh-exec-useless-usage.tag b/tags/d/dh-exec-useless-usage.tag
new file mode 100644
index 0000000..0670845
--- /dev/null
+++ b/tags/d/dh-exec-useless-usage.tag
@@ -0,0 +1,19 @@
+Tag: dh-exec-useless-usage
+Severity: info
+Check: debhelper
+Explanation: The package uses dh-exec for things it is not needed for.
+ .
+ This typically includes using ${DEB_HOST_MULTIARCH} in an install
+ target where a wildcard would suffice. For example, if you had:
+ .
+ #! /usr/bin/dh-exec
+ usr/lib/${DEB_HOST_MULTIARCH}
+ .
+ This could be replaced with the following in most cases, dropping the
+ need for dh-exec:
+ .
+ usr/lib/*
+ .
+ However, there may be other directories that match the wildcard,
+ which one does not wish to install. In that case, this warning should
+ be ignored or overridden.