[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #51311] Checking search retries for implicit make rules
From: |
Edward Welbourne |
Subject: |
Re: [bug #51311] Checking search retries for implicit make rules |
Date: |
Mon, 3 Jul 2017 13:06:29 +0000 |
Mike Gran (25 June 2017 22:54)
> The '%' (the stem) in a pattern rule doesn't, if I recall correctly,
> match a null string. It needs to match at least a single character,
> so building MOTD.log won't work.
At the risk of stating the obvious, note that there is a trivial
work-around for this - there is nothing special about dot in patterns,
so you could merge the dot into what % matches to make it non-empty:
MOTD%log: MOTD%txt MOTD%in
... or, of course, merge the D in from the other end:
MOT%.log: MOT%.txt MOT%.in
Eddy.