[Build-common-hackers] Re: cdbs question

Colin Walters walters@verbum.org
Thu, 04 Dec 2003 17:11:17 -0500


--=-vfOSF9+Usfh/jzAXbdHI
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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

> # FIXME:  Stupid kludge to get around ChangeLog handling contradictions b=
etween
> # Makefile (install target moves it to /usr/share/doc/$(package)/ChangeLo=
g) and
> # CDBS (dh_installchangelog creates /usr/share/doc/$(package)/changelog.g=
z too)
>=20
> binary-post-install/foobar::

I would hook this on install/foobar, personally.  It will do the same
thing, but it makes more sense to me there, because you're changing how
the upstream install works, not how the Debian one works.

> IMHO, it is perfectly logical for the Makefile to install all the documen=
tation
> itself, but then by the time debhelper.mk does its thing, README and Chan=
geLog
> get processed all over again.  Any way to avoid this mess?  Thanks.

Maybe dh_installchangelogs should delete ChangeLog itself if it's
installed.

--=-vfOSF9+Usfh/jzAXbdHI
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/z7EFOIkJWWp2WGURAlnrAJ90YYAJ3nuopZSf0XEgDhROPHiqsgCfUXhQ
QaS0tE43CIWSA3oT5mQStjw=
=faal
-----END PGP SIGNATURE-----

--=-vfOSF9+Usfh/jzAXbdHI--