bug#67477: Automake warns that $(?D) is a non-POSIX variable name

2023-11-27 Thread Quinn Grier
Naturally, now that I've reported this bug after I couldn't find it being already reported, I search again and find that it was already reported a long time ago: .

bug#67477: Automake warns that $(?D) is a non-POSIX variable name

2023-11-26 Thread Quinn Grier
POSIX Make allows the syntax $(@D) and $(@F) to be used to retrieve the directory and filename parts of the $@ internal macro. It also allows this syntax for the other four internal macros ($%, $?, $<, and $*). Automake seems to be aware of $(@D) and $(@F), but not the others. Here is an

Re: Portable $addprefix

2017-09-01 Thread Quinn Grier
On 2017-09-01 17:34, Kip Warner wrote: > On Mon, 2017-08-28 at 11:03 -0700, Quinn Grier wrote: >> A portable way to do this is to do the work in configure.ac and >> transfer >> it to the Makefile with AC_SUBST. For example, with an empty >> Makefile.am >&g

Re: Portable $addprefix

2017-08-28 Thread Quinn Grier
On 2017-08-24 19:02, Kip Warner wrote: > Hey list, > > I'd like to transform the following variable in my Makefile.am from... > > files_only = a.foo b.foo c.foo d.foo ... > > Into... > > files_with_path = dir/a.foo dir/b.foo dir/c.foo dir/d.foo ... > > I'm aware of GNU Make's