[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:40:03 +0100 |
On 24 January 2018 at 16:37, netfab <address@hidden> wrote:
> Le 24/01/18 à 16:16, Václav Haisman a tapoté :
>> > 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.?
>
> What is %D% ?
>
> I tried, but it does not seems to change anything.
> And at ⁽¹⁾ we can read :
>> Even though repeating the same path prefix for each source file might
>> seem a useless repetition, it is a common mistake to try using a
>> variable to hold the prefix. Indeed automake does not expand
>> variables in _SOURCES definitions.
>
> 1. https://autotools.io/automake/nonrecursive.html
See here: https://www.gnu.org/software/automake/manual/html_node/Include.html
It is a special thing.
--
VH
- Re: _SOURCES files in sub-directories lead to make distdir failure, (continued)
- 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, 2018/01/24
Re: _SOURCES files in sub-directories lead to make distdir failure, netfab, 2018/01/25