On Sun, 25 Jun 2017 13:31:40 +0100 Chris Lamb <[email protected]> wrote: > 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 > `. `'` [email protected] / chris-lamb.co.uk > `- > >
JFR (as requested per IRC), the suggested work around for now is not policy compliant. The policy mandates that copyright + changelog files (among other) basic documentation is still installed under "nodoc". As dh_installdoc installs the copyright file, the above snippet (without anything else) would omit the copyright file from the packages. Thanks, ~Niels

