This is the mail archive of the
automake-prs@sourceware.org
mailing list for the automake project.
automake/493: Multiple levels of 'include' are not understood by automake
- From: muntyan at tamu dot edu
- To: automake-gnats at sources dot redhat dot com
- Date: 11 Jun 2006 08:25:28 -0000
- Subject: automake/493: Multiple levels of 'include' are not understood by automake
- Reply-to: muntyan at tamu dot edu
>Number: 493
>Category: automake
>Synopsis: Multiple levels of 'include' are not understood by automake
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: adl
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 11 08:31:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: muntyan@tamu.edu
>Release: 1.9.6
>Organization:
>Environment:
>Description:
If you have a top-level Makefile.am which contains "include makefile.1", and makefile.1 in turn contains "include makefile.2", then "include makefile.2" is inserted into resulted makefile, i.e. makefile.2 won't be processed by automake.
It means that if one wants to avoid using automake subdirectories, but still wants to have subdirectories with files and makefile-per-directory, he has to have something like
---------
include subdir/Makefile.incl
include subdir/anotherdir/Makefile.incl
...
---------
in the top-level Makefile.am, instead of having subdir/Makefile.incl include files from futher subdirectories.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: