[debhelper-devel] Bug#865869: 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 11:26:18 UTC 2017
On Thu, Jun 29, 2017 at 09:59:00AM +0000, Niels Thykier wrote:
> 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:
Yes, I know, I follow your commits to the debhelper repository;
thanks a lot for your work! And, yes, I am still kind of undecided
whether to add "nodoc" option support when there will indeed be
"nodoc" profile support by the time I actually get to upload the next
version 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
> >
>
> But indeed, your example would be better than the original as it
> installs the copyright file.
That was the point - if somebody really wants to do it this way... :)
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/f72574c4/attachment-0001.sig>
More information about the debhelper-devel
mailing list