[Build-common-hackers] Re: cdbs question

Martin-Éric Racine q-funk@pp.fishpool.fi
Fri, 5 Dec 2003 00:25:24 +0200 (EET)

On Thu, 4 Dec 2003, Colin Walters wrote:

> [You aren't subscribed to this list, right?  So I should keep CCing
> you?]

Well... I suppose that I could subscribe, now that I have been writing myself a
CDBS HOW-TO that might eventually reach a publishable stage...

> > # FIXME:  Stupid kludge to get around ChangeLog handling contradictions=
> > # Makefile (install target moves it to /usr/share/doc/$(package)/Change=
Log) and
> > # CDBS (dh_installchangelog creates /usr/share/doc/$(package)/changelog=
.gz too)
> > 
> > binary-post-install/foobar::
> I would hook this on install/foobar, personally.  It will do the same thi=
> but it makes more sense to me there, because you're changing how the
> upstream install works, not how the Debian one works.

Agreed and done.
> > IMHO, it is perfectly logical for the Makefile to install all the docum=
> > itself, but then by the time debhelper.mk does its thing, README and Ch=
> > get processed all over again.  Any way to avoid this mess?  Thanks.
> Maybe dh_installchangelogs should delete ChangeLog itself if it's install=

That could make sense, since it already produces a compressed version. 

Martin-Éric Racine, ICT Consultant