[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: _SOURCES files in sub-directories lead to make distdir failure
From: |
Václav Haisman |
Subject: |
Re: _SOURCES files in sub-directories lead to make distdir failure |
Date: |
Wed, 24 Jan 2018 16:16:16 +0100 |
On 24 January 2018 at 11:38, netfab <address@hidden> wrote:
>
> Hi,
>
> I'm using automake-1.15.1 to build a project using recursive makefiles.
>
> Into that project, there's a subdirectory to build a library using
> libtool-2.4.6. The source code of this library is organized into
> sub-directories, like this :
>> mylib/makefile.am
>> mylib/aaa.cpp
>> mylib/aaa.h
>> mylib/foo/bbb.cpp
>> mylib/foo/bbb.h
>> mylib/bar/ccc.cpp
>> mylib/bar/ccc.h
>
>
> The makefile.am for this lib contains :
>> libmyLIB_la_SOURCES = \
>> aaa.cpp aaa.h \
>> foo/bbb.cpp foo/bbb.h \
>> bar/ccc.cpp bar/ccc.h
What if you use %D%/aaa.cpp %D%/foo/bbb.cpp etc.?
>
>
> I'm initializing automake with :
>> AM_INIT_AUTOMAKE([subdir-objects])
>
>
> When building the whole project, it works fine.
> However, when running :
>> make distcheck
>
>
> Is fails like following, and I don't see how to fix this :
>> make[5]: Entering directory '/path/to/project/build/src/lib/mylib'
>> make[5]: *** No rule to make target 'foo/bbb.h ', needed by 'distdir'. Stop.
>
> Any advice ? Thanks.
>
--
VH
- _SOURCES files in sub-directories lead to make distdir failure, netfab, 2018/01/24
- Re: _SOURCES files in sub-directories lead to make distdir failure, Nick Bowler, 2018/01/24
- Re: _SOURCES files in sub-directories lead to make distdir failure, netfab, 2018/01/24
- Re: _SOURCES files in sub-directories lead to make distdir failure, Václav Haisman, 2018/01/24
- Re: _SOURCES files in sub-directories lead to make distdir failure, netfab, 2018/01/24
- Re: _SOURCES files in sub-directories lead to make distdir failure, netfab, 2018/01/24
- Re: _SOURCES files in sub-directories lead to make distdir failure, Bob Friesenhahn, 2018/01/24
- Re: _SOURCES files in sub-directories lead to make distdir failure, netfab, 2018/01/24
- Re: _SOURCES files in sub-directories lead to make distdir failure, Bob Friesenhahn, 2018/01/24
Re: _SOURCES files in sub-directories lead to make distdir failure,
Václav Haisman <=
Re: _SOURCES files in sub-directories lead to make distdir failure, netfab, 2018/01/25