Package: debhelper
Version: 13.3.4
Severity: wishlist

For lintian-brush, it would be great if there was a command that printed the
buildsystem that debhelper would use in a directory.

At the moment, lintian-brush runs something like:

perl -w -MDebian::Debhelper::Dh_Lib -MDebian::Debhelper::Dh_Buildsystems -e 
<<EOF
  Debian::Debhelper::Dh_Lib::init();
  my $b=Debian::Debhelper::Dh_Buildsystems::load_buildsystem(undef, %(step)s);\
  if (defined($b)) { print($b->NAME); } else { print("_undefined_"); }\
EOF

to do something like this.

But it tends to trigger unnecessary perl warnings, and I'm worried that it'll
break at some point as this is not a public API.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-4-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debhelper depends on:
ii  autotools-dev            20180224.1+nmu1
ii  dh-autoreconf            20
ii  dh-strip-nondeterminism  1.11.0-1
ii  dpkg                     1.20.7.1
ii  dpkg-dev                 1.20.7.1
ii  dwz                      0.13+20210201-1
ii  file                     1:5.39-3
ii  libdebhelper-perl        13.3.4
ii  libdpkg-perl             1.20.7.1
ii  man-db                   2.9.4-2
ii  perl                     5.32.1-3
ii  po-debconf               1.0.21+nmu1

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make  <none>

-- no debconf information

Reply via email to