Bug#871822: [debhelper-devel] Bug#871822: debhelper: Ignore .install files for "Section: doc" packages when the nodoc build option is set

2017-08-12 Thread Niels Thykier
Emmanuel Bourg: > On 08/12/2017 08:46 AM, Niels Thykier wrote: > >> I appreciate the idea, but it is not scalable to implement this kind of >> filtering in dh_install. > > Do you mean that debian/control would have to be parsed on each > invocation of dh_install, roughly once per file installed?

Bug#871822: [debhelper-devel] Bug#871822: debhelper: Ignore .install files for "Section: doc" packages when the nodoc build option is set

2017-08-12 Thread Emmanuel Bourg
On 08/12/2017 08:46 AM, Niels Thykier wrote: > I appreciate the idea, but it is not scalable to implement this kind of > filtering in dh_install. Do you mean that debian/control would have to be parsed on each invocation of dh_install, roughly once per file installed? > Instead, I will

Bug#871822: [debhelper-devel] Bug#871822: debhelper: Ignore .install files for "Section: doc" packages when the nodoc build option is set

2017-08-12 Thread Emmanuel Bourg
On 08/12/2017 08:46 AM, Niels Thykier wrote: > I appreciate the idea, but it is not scalable to implement this kind of > filtering in dh_install. Another idea, probably easier to implement: could dh_install simply skip the files installed under /usr/share/doc when nodoc is set? Emmanuel Bourg

Bug#871822: [debhelper-devel] Bug#871822: debhelper: Ignore .install files for "Section: doc" packages when the nodoc build option is set

2017-08-12 Thread Niels Thykier
Control: tags -1 wontfix Emmanuel Bourg: > Package: debhelper > Version: 10.7.2 > Severity: normal > > Hi, > > I started implementing the new "nodoc" build option in maven-debian-helper > but it led to build failures because even if the javadoc generation is > skipped, the .install files are

Bug#871822: debhelper: Ignore .install files for "Section: doc" packages when the nodoc build option is set

2017-08-11 Thread Emmanuel Bourg
Package: debhelper Version: 10.7.2 Severity: normal Hi, I started implementing the new "nodoc" build option in maven-debian-helper but it led to build failures because even if the javadoc generation is skipped, the .install files are still interpreted and dh_install fails due to the missing