[Top][All Lists]

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

Re: What to check into repository?

From: Bernd Jendrissek
Subject: Re: What to check into repository?
Date: Tue, 4 Dec 2007 13:04:39 +0200

On Dec 4, 2007 10:35 AM, Hongliang Wang <address@hidden> wrote:
> Here is the my
> ==================================================
> #!/bin/sh
> # Run this to generate all the initial makefiles, etc.
> for dir in .
> do
>         echo processing $dir
>         (cd $dir; \
>         aclocalinclude="$ACLOCAL_FLAGS"; \
>         aclocal $aclocalinclude; \
>         autoheader; automake --add-missing --gnu $am_opt; autoconf)
> done

Why don't you just use autoreconf - which does exactly what
does, just better?  From the automake manual:

   Many packages come with a script called `' or
`', that will just call `aclocal', `libtoolize', `gettextize'
or `autopoint', `autoconf', `autoheader', and `automake' in the right
order.  Actually this is precisely what `autoreconf' can do for you.
If your package has such a `' or `' script,
consider using `autoreconf'.  That should simplify its logic a lot
(less things to maintain, yum!), it's even likely you will not need the
script anymore, and more to the point you will not call `aclocal'
directly anymore.

(Node: Future of aclocal)

reply via email to

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