automake
[Top][All Lists]
Advanced

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

Re: [AM-1.4] Multiple Subdir Problem


From: Gary V. Vaughan
Subject: Re: [AM-1.4] Multiple Subdir Problem
Date: Tue, 13 Jun 2006 13:58:30 +0100
User-agent: Thunderbird 1.5.0.2 (X11/20060519)

Daniel Haude wrote:
> Well, it ain't all that multiple. I just added another subdir to my
> project in the toplevel Makefile.am like this:
> 
> SUBDIRS = tops gui
> 
> (it was just "gui" before).
> 
> The subdir "tops" has a rudimentary Makefile.am as well. My problem is
> that the configure run doesn't touch that new directory at all, so no
> Makefile.in or Makefile is ever created. The subesequent make run,
> therefore, fails.
> 
> Why is that?

You forgot to write near the end of configure.ac:

AC_CONFIG_FILES([tops/Makefile])

FYI, you'll need to run 'autoreconf -fvi' in the project $top_srcdir
afterwards to generate tops/Makefile.in.

HTH,
        Gary.
-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://blog.azazil.net
GNU Hacker           / )=   http://trac.azazil.net/projects/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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