diff options
Diffstat (limited to 'tags/i/illegal-variable.tag')
-rw-r--r-- | tags/i/illegal-variable.tag | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tags/i/illegal-variable.tag b/tags/i/illegal-variable.tag new file mode 100644 index 0000000..74dd973 --- /dev/null +++ b/tags/i/illegal-variable.tag @@ -0,0 +1,21 @@ +Tag: illegal-variable +Severity: error +Check: debian/variables +Explanation: With debhelper compatibility level >= 13 (and also + <code>dh-exec</code> before it) several files in the + <code>./debian</code> folder support the expansion of variables. + Unfortunately, people sometimes confuse the + <code>DEB_BUILD_*</code> + variables with the similarly-named + <code>DEB_HOST_*</code> variables. + . + Some conditions are difficult to detect but it is never correct + to use <code>DEB_BUILD_MULTIARCH</code> in + <code>debian/*.install</code> or in + <code>debian/*.links</code>. + . + Please use <code>DEB_HOST_MULTIARCH</code> instead + of <code>DEB_BUILD_MULTIARCH</code>. +See-Also: + https://wiki.debian.org/Multiarch/Implementation#Recipes_for_converting_packages, + Bug#983219 |