[debhelper-devel] Bug#865869: Bug#865869: Bug#865869: debhelper: Don't run dh_installdocs if nodoc is specified in DEB_BUILD_PROFILES
Peter Pentchev
roam at ringlet.net
Thu Jun 29 09:39:15 UTC 2017
On Thu, Jun 29, 2017 at 07:32:00AM +0000, Niels Thykier wrote:
> Chris Lamb:
> > Hi,
> >
> >> the suggested work around for now is not policy compliant.
> >
> > Well spotted. Would that matter though? I mean, nobody should be uploading
> > packages to Debian with nodoc anyway, surely?
> >
> >
> > Regards,
> >
>
> I suspect it could matter.
>
> It is my understanding that the nodoc profile will be useful for
> bootstrapping architectures. As such members of the project may have in
> interest in temporarily distributing such binaries when bootstraping new
> ports (e.g. on d-ports or otherwise).
> This could have legal repercussions where distribution permission
> requires the inclusion of the license texts themselves. While it is
> certainly not Debian main itself, it could affect Debian contributors.
> Accordingly, I am concerned with dismissing the policy text as "irrelevant".
Well, here's what I'm about to do in the next upload of stunnel4:
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
--
Peter Pentchev roam at ringlet.net roam at FreeBSD.org pp at storpool.com
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20170629/6d1222b5/attachment-0001.sig>
More information about the debhelper-devel
mailing list