automake
[Top][All Lists]
Advanced

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

Re: delete aclocal.m4? keep generated files on cvs server? enforce spece


From: Alexandre Duret-Lutz
Subject: Re: delete aclocal.m4? keep generated files on cvs server? enforce specefic automake/conf version?
Date: Mon, 28 Jul 2003 23:39:48 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

>>> "Andrew" == Andrew Suffield <address@hidden> writes:

[...]

 Andrew> #!/usr/bin/env bash
 Andrew> # For the lazy people, this does all the auto* stuff needed before
 Andrew> # ./configure && make will work
 Andrew> # (This is a maintainer script; it should never have to be run on
 Andrew> #  a distributed tarball)

 Andrew> set -e

 Andrew> ${ACLOCAL:-aclocal} -I autoconf
 Andrew> ${AUTOHEADER:-autoheader}
 Andrew> ${AUTOMAKE:-automake} -a
 Andrew> ${AUTOCONF:-autoconf}

 Andrew> # If it exists and is executable, recheck and regenerate
 Andrew> test -x config.status && ./config.status --recheck
 Andrew> test -x config.status && ./config.status

 Andrew> # Exit true if we got this far
 Andrew> exit 0

This whole script (including its last part) can be replaced by

  autoreconf -im

(I'd use -vfim, though.)

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]