[debhelper-devel] Bug#780133: Bug#780133: DH_VERBOSE under dh command

Osamu Aoki osamu at debian.org
Tue Mar 10 15:34:12 UTC 2015


Hi,

On Mon, Mar 09, 2015 at 05:40:50PM +0100, Niels Thykier wrote:
> On 2015-03-09 17:17, Osamu Aoki wrote:
> > Package: debhelper
> > Version: 9.20150101
> > Severity: wishlist
> > 
> > The manpage of debhelper(7) goes:
> > 
> > DH_VERBOSE
> >  Set to 1 to enable verbose mode. Debhelper will output every
> >  command it runs. Also enables verbose build logs for some build
> >  systems like autoconf.
> > 
> > Unless you export DH_VERBOSE, DH_VERBOSE=1 only outputs every command
> > such as dh_auto_configure which is run DIRECTLY by the dh command.  So
> > actual commands run by dh_auto_configure etc. are not printed out if the
> > new style of debian/rules with "dh $@" is used.
> > 
> > Can you document this export requirement in manpage or update the dh
> > command to export DH_VERBOSE setting to its sub-commands.
> > 
> > Osamu
> > 
> > [...]
> 
> Hi,
> 
> It seems to be documented under "ENVIRONMENT", which I thought would
> imply that it is an environment variable and not a Makefile variable?

Exactly! (imply! but not explicit.)  
 
> I suppose we can stress the fact a bit harder.

That is what I wished to say since all the template files created by
dh-make etc. did not export DH_VERBOSE.  I just updated my local copy of
debmake to export DH_VERBOSE.

Osamu




More information about the debhelper-devel mailing list