[Build-common-hackers] autotools.mk and cvs-buildpackage
Jeff Bailey
jbailey@nisa.net
Mon, 06 Oct 2003 08:43:47 -0400
--=-lwNO6uexeEWp0Qbvkcrn
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Sun, 2003-10-05 at 11:15, debacle wrote:
> what is the best way to use the autotools.mk class with
> cvs-buildpackage? Problem: I don't have generated files
> (e.g. "./configure") in CVS. Instead, I generate the stuff
> via a cvs-buildpackage hook ('-H$HOME/bin/buildhook'),
> which calls 'make maintainer -f debian/rules'. In the
> debian/rules is a 'maintainer' target calling './bootstrap'.
> ./bootstrap again is a four-line script:
>=20
> aclocal-1.7
> autoconf2.50
> libtoolize --automake --copy --force
> automake-1.7 --add-missing --copy
'bootstrap' scripts that do just this are horribly broken. The right
way to do this is:
autoreconf -f -i -s
It will detect what tools you need to run, and run them in the right
order.
Colin: I generally think that doing this in the package is horribly
wrong, but since people keep asking should we consider having a
DEB_AUTOTOOLS_RECONF =3D yes or something like that?
Tks,
Jeff Bailey
--=20
"I'm torn... My kink or my country..."
- Anika Stafford
--=-lwNO6uexeEWp0Qbvkcrn
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQA/gWOD5M5hmdCYCpkRAk5UAJ4uuzNv11dtnOmEJm7pDYBSbC4IcQCfXiD+
9Qg1xSzRacsnGf/yBegLF30=
=AeQS
-----END PGP SIGNATURE-----
--=-lwNO6uexeEWp0Qbvkcrn--