automake
[Top][All Lists]
Advanced

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

Re: Automake Digest, Vol 175, Issue 3


From: Václav Haisman
Subject: Re: Automake Digest, Vol 175, Issue 3
Date: Fri, 8 Sep 2017 13:40:53 +0200

On 8 September 2017 at 03:25, Kip Warner <address@hidden> wrote:

> On Thu, 2017-09-07 at 10:22 +0200, Thomas Jahns wrote:
> > Really the only part, where names need to be included verbatim is in
> > so-called automake primaries.
>
> Exactly. And since the full paths are necessary to populate the
> _SOURCES primary in order to have the various build and dist rules
> function correctly, I think Nick's solution won't work in this
> scenario.
>
> > > If you assume a reasonably-POSIXish shell, you can use something
> > > like $${i##*/} to strip directory parts instead (I think this form
> > > will fail on at least Solaris /bin/sh).
> >
> > That's an argument in favor of adding the directory part since no
> > comparable portability headache applies to
> >
> > "dir/$$i"
>
> Good call Thomas. It would have been no problem to keep the trailing
> slash, and personally I prefer it.
>
>
You might want to look at AutoGen (https://www.gnu.org/software/autogen/)
and use that to create the Makefile.am contents.


-- 
VH


reply via email to

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