This is the mail archive of the automake-prs@sources.redhat.com mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

automake/267: depcomp not being included in DIST_COMMON



>Number:         267
>Category:       automake
>Synopsis:       depcomp not being included in DIST_COMMON
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 01 22:31:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     ?
>Release:        1.5
>Organization:
>Environment:
Redhat 7.1, i686-pc-linux-gnu
>Description:
make distcheck fails if:

- the top level directory of the source tree does not contain source code

and

- automake is only run once.
>How-To-Repeat:
Create a completely fresh source tree (e.g. check one out of
CVS). Choose one with the sourec code in a subdir of the
top level dir. Also make sure the automake mandatory files
are not present (e.g. depcomp, install-sh, etc).

Type:

aclocal
automake --add-missing.
autoconf
./configure
make distcheck

I get an error that depcomp is not found.
>Fix:
Problem seems to be that the DIST_COMMON var in the top
level Makefile.in contains only files that are in the top
level dir when that Makefile.in is generated. But depcomp
is typically only added after a subdirectory containing
C/C++ files is scanned.

A workaround is to run automake twice...
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]