[57] in athena10

home help back first fref pref prev next nref lref last post

Re: /svn/athena r22710 - in trunk/debathena/debathena: . build-common

daemon@ATHENA.MIT.EDU (Tim Abbott)
Mon Jan 28 21:25:39 2008

Date: Mon, 28 Jan 2008 21:24:57 -0500 (EST)
From: Tim Abbott <tabbott@MIT.EDU>
To: athena10@mit.edu
In-Reply-To: <200801272207.RAA19737@drugstore.mit.edu>
Message-ID: <Pine.LNX.4.64L.0801282021190.14241@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

I admit I'm not an expert on autotools, but it seems this package could 
probably be simplified.

One simplication would be using the DEB_AUTO_UPDATE_AUTOCONF variable 
(which is supposed to be set to a version of autoconf like 2.50, but some 
Debathena packages erroneously set to 1); it handles adding the 
autotools-dev and autoconf dependencies, and actually running autoconf.

I think using DEB_AUTO_UPDATE_AUTOCONF would also allow us to remove the 
config.sub and config.guess copying, since that gets done by buildcore.mk 
already.

I notice the Athena mkinstalldirs and install-sh seem to be the same as 
those provided by the automake1.10 package -- it might be preferable to 
use those than including our own copy.  Also, Anders observes that 
install-sh, libtool, and ltmain.sh seem to not be used in any of the 
Athena packages we're aware of; it may be that they can be eliminated 
entirely.

There are also DEB_AUTO_UPDATE_LIBTOOL, DEB_AUTO_UPDATE_ACLOCAL and 
DEB_AUTO_UPDATE_AUTOMAKE variables that could be used to get CDBS to 
perform some of these other steps.  I think DEB_AUTO_UPDATE_ACLOCAL may be 
able to replace the code for creating aclocal.m4 (though we'd still need 
install /usr/share/debathena-build-common/aclocal.m4 somewhere where 
aclocal will look).

 	-Tim Abbott

On Sun, 27 Jan 2008, ghudson@MIT.EDU wrote:

> Author: ghudson
> Date: 2008-01-27 17:07:15 -0500 (Sun, 27 Jan 2008)
> New Revision: 22710
>
> Added:
>   trunk/debathena/debathena/build-common/
>   trunk/debathena/debathena/build-common/aclocal.m4
>   trunk/debathena/debathena/build-common/athena.mk
>   trunk/debathena/debathena/build-common/debian/
>   trunk/debathena/debathena/build-common/debian/changelog
>   trunk/debathena/debathena/build-common/debian/compat
>   trunk/debathena/debathena/build-common/debian/control
>   trunk/debathena/debathena/build-common/debian/control.in
>   trunk/debathena/debathena/build-common/debian/copyright
>   trunk/debathena/debathena/build-common/debian/debathena-build-common.dirs
>   trunk/debathena/debathena/build-common/debian/debathena-build-common.install
>   trunk/debathena/debathena/build-common/debian/rules
>   trunk/debathena/debathena/build-common/install-sh
>   trunk/debathena/debathena/build-common/mkinstalldirs
> Log:
> Add a new package debathena-build-common containing rules to build
> Athena source directories.
>
>
>
> Added: trunk/debathena/debathena/build-common/aclocal.m4
>
> Added: trunk/debathena/debathena/build-common/athena.mk
>
> Added: trunk/debathena/debathena/build-common/debian/changelog
>
> Added: trunk/debathena/debathena/build-common/debian/compat
>
> Added: trunk/debathena/debathena/build-common/debian/control
>
> Added: trunk/debathena/debathena/build-common/debian/control.in
>
> Added: trunk/debathena/debathena/build-common/debian/copyright
>
> Added: trunk/debathena/debathena/build-common/debian/debathena-build-common.dirs
>
> Added: trunk/debathena/debathena/build-common/debian/debathena-build-common.install
>
> Added: trunk/debathena/debathena/build-common/debian/rules
>
>
> Property changes on: trunk/debathena/debathena/build-common/debian/rules
> ___________________________________________________________________
> Name: svn:executable
>   + *
>
> Added: trunk/debathena/debathena/build-common/install-sh
>
>
> Property changes on: trunk/debathena/debathena/build-common/install-sh
> ___________________________________________________________________
> Name: svn:executable
>   + *
>
> Added: trunk/debathena/debathena/build-common/mkinstalldirs
>
>
> Property changes on: trunk/debathena/debathena/build-common/mkinstalldirs
> ___________________________________________________________________
> Name: svn:executable
>   + *
>
>

home help back first fref pref prev next nref lref last post