From 1d94471647f372c55bfed8e33f9e6d33c30ab85c Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Fri, 7 Jul 2017 10:43:25 +0000 Subject: Dh_Lib: Embed tool versions into auto-generated snippets Use $main::VERSION to determine the version of the tool and embed that into auto-generated snippets (e.g. via autoscript). This enables lintian to extract the tool + version and display it on: https://lintian.debian.org/tags/debhelper-autoscript-in-maintainer-scripts.html Signed-off-by: Niels Thykier --- dh_strip | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dh_strip') diff --git a/dh_strip b/dh_strip index c2741c50..bcc8e090 100755 --- a/dh_strip +++ b/dh_strip @@ -11,6 +11,8 @@ use warnings; use File::Find; use Debian::Debhelper::Dh_Lib; +our $VERSION = DH_BUILTIN_VERSION; + =head1 SYNOPSIS B [S>] [B<-X>I] [B<--dbg-package=>I] [B<--keep-debug>] -- cgit v1.2.3