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. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make