[debhelper-devel] Bug#865869: debhelper: Don't run dh_installdocs if nodoc is specified in DEB_BUILD_OPTIONS

Chris Lamb lamby at debian.org
Sun Jun 25 12:31:40 UTC 2017


Package: debhelper
Version: 10.2.5
Severity: wishlist

Hi,

I just added the following to the python-django packaging's debian/rules
file:

    ifneq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
    override_dh_installdocs:
    endif

Wouldn't it make more sense for debhelper to do this by default? I see that
debhelper does not really touch the build profiles at all, so this might be
entirely deliberate.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb, Debian Project Leader
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-




More information about the debhelper-devel mailing list