automake
[Top][All Lists]
Advanced

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

Re: _SOURCES files in sub-directories lead to make distdir failure


From: netfab
Subject: Re: _SOURCES files in sub-directories lead to make distdir failure
Date: Wed, 24 Jan 2018 16:37:37 +0100

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



reply via email to

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