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

Tianon Gravi admwiggin at gmail.com
Tue Mar 10 15:55:53 UTC 2015


On Tue, Mar 10, 2015 at 07:10:30AM +0100, Niels Thykier wrote:
> Looks good to me.  The only thing I can think of is that it probably
> also valid to do:
> 
> DH_VERBOSE := 1
> export DH_VERBOSE
> 
> So maybe it should simply say that people should remember to "export"
> them and not necessary require it to be exported during the assignment.

Good point. :)

Updated patch:

| diff --git a/debhelper.pod b/debhelper.pod
| index 9415d78..82e3133 100644
| --- a/debhelper.pod
| +++ b/debhelper.pod
| @@ -660,6 +660,12 @@ F<preinst>, F<postrm>, F<prerm>, and F<config> scripts, etc.
|  
|  =head1 ENVIRONMENT
|  
| +The following environment variables can influence the behavior of debhelper.
| +It is important to note that these must be actual environment variables in
| +order to function properly (not simply F<Makefile> variables). To specify
| +them properly in F<debian/rules>, be sure to "B<export>" them. For example,
| +"B<export DH_VERBOSE>".
| +
|  =over 4
|  
|  =item B<DH_VERBOSE>

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4




More information about the debhelper-devel mailing list