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

Niels Thykier niels at thykier.net
Thu Jun 29 09:59:00 UTC 2017


Peter Pentchev:
> [...]
> 
> Well, here's what I'm about to do in the next upload of stunnel4:
> 

Hi,

For the record, I am adding support for the nodoc profile directly in
debhelper (for dh_installdocs it is already merged into master).
Accordingly, you should not need the following:

> ifneq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
> override_dh_installdocs:
> 	mkdir -p $(CURDIR)/debian/stunnel4/usr/share/doc/stunnel4
> 	install -c -o root -g root -m 644 $(CURDIR)/debian/copyright $(CURDIR)/debian/stunnel4/usr/share/doc/stunnel4/
> endif
> 
> Yep, I know, duplication of work and stuff, but it kind of works.
> 
> G'luck,
> Peter
> 

But indeed, your example would be better than the original as it
installs the copyright file.

Thanks,
~Niels




More information about the debhelper-devel mailing list