[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: top-level Makefile required?
From: |
Alexandre Duret-Lutz |
Subject: |
Re: top-level Makefile required? |
Date: |
04 Aug 2002 10:44:27 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>> "Harlan" == Harlan Stenn <address@hidden> writes:
> On Fri, Aug 02, 2002 at 07:55:43PM -0400, Harlan Stenn wrote:
> > I tried to write a test case for automake (debugging the AM_CONDITIONAL
> > slowdown problem I'm seeing) and I wrote a top-level configure.ac that
> > only specified the following outputs:
> >
> > AC_CONFIG_FILE(a/Makefile)
> > AC_CONFIG_FILE(b/Makefile)
> > AC_OUTPUT
> >
> > and when I ran automake on this I never got either of those Makefile.in's
> > generated.
>
> s/AC_CONFIG_FILE/AC_CONFIG_FILES/
Harlan> I typed it correctly in configure.ac and incorrectly in my email.
The following works fine for me.
AC_INIT([foo], [0.1])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([a/Makefile])
AC_CONFIG_FILES([b/Makefile])
AC_OUTPUT
By `test case', did you mean a real Automake test case for the
test suite? If you are doing something like
. $srcdir/defs
cat >>configure.in <<EOF
AC_CONFIG_FILES(a/Makefile)
AC_CONFIG_FILES(b/Makefile)
AC_OUTPUT
EOF
then that explains it all. $srcdir/defs builds a configure.in that
already contains AC_CONFIG_FILE(Makefile).
--
Alexandre Duret-Lutz