On 2023-01-04, Mike Frysinger wrote:
> On 04 Jan 2023 21:10, Nick Bowler wrote:
[...]
>> maybe something like:
>>
>> % cat >Makefile <<'EOF'
>> at_f = $(@F)
>> foo/bar.o:
>> a='$(@F:.o=)' b='$(at_f:.o=)'; test x"$$a.o" = x"$(@F)" || a=$$b;\
>>echo $$a
>> EOF
>
> this is interesting.
On 04 Jan 2023 21:10, Nick Bowler wrote:
> Except for one minor detail, $(@F) and $(@D) are highly portable. I
> expect they were in the very first POSIX.2 specs as they predate the
> earliest standards; I believe they first appeared in UNIX System V (ca.
> 1983) and were later added to BSD in 4.3
On 2023-01-03, Mike Frysinger wrote:
> The echo|sed is used to split the dirname & filename so it can insert
> $(DEPDIR) in the middle, and then chop the trailing object suffix. In
> the generic case, %OBJ% is $@, so we can leverage the POSIX vars $(@D)
> and $(@F) to do the pathname splitting an
On 04 Jan 2023 16:54, Karl Berry wrote:
> When the code that used this variable was removed, the variable
> itself was left behind. Clean that up now too.
> * lib/am/check.am: Delete trs_list.
>
> I can't find when the code using trs_list was removed (no mention in any
> ChangeLog), b
distclean:
- %DISTRMS%
+%DISTRMS%
maintainer-clean:
- %DISTRMS%
+%DISTRMS%
Sure, looks good. Please commit. Thanks Mike. -k
When the code that used this variable was removed, the variable
itself was left behind. Clean that up now too.
* lib/am/check.am: Delete trs_list.
I can't find when the code using trs_list was removed (no mention in any
ChangeLog), but indeed, grepping the current sources, I don't fin