[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh: different dh option for -indep



Raphael Hertzog <hertzog@debian.org> wrote:
> On Mon, 30 Dec 2013, Andreas Metzler wrote:
[...]
>> MYDHMODS := $(shell if dh_listpackages | grep -q foo-doc ; \
>>         then echo "--with autoreconf,sphinxdoc" ; \
>>         else echo "--with autoreconf" ; fi)
[...]
> Nice trick! Still, this is a wrong optimization IMO. This complexifies the
> packaging for no important gain.

> It could be different if the package was one of those required to
> bootstrap a new architecture but for a random package, it's just easier
> and more maintainable to keep the sphinxdoc build-dep in Build-Depends.

Hello,

you might be right. I was shown the trick at Debconf, and used it for
breaking a gnutls bootstrap cycle.

If all you have is a hammer, everything looks like a nail. ;-)

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


Reply to: