Mathieu Lirzin <m...@gnu.org> skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Eric Bavier <ericbav...@openmailbox.org> skribis: >>> >>> I don't prefer the "local.mk" convention. It becomes >>> non-obvious that the file is input for Automake, and the name loses any >>> descriptive power. >> >> I have mixed feelings (notably because file names in those .mk files >> remain relative to $top_srcdir, which can be confusing and will make M-/ >> useless). > > I didn't know about M-/ :) > > To emphasize how the file names relate to the current directory of the > ‘Makefile’ snippet, we could use ‘%reldir%’ or ‘%D%’ like describe in: > > https://www.gnu.org/software/automake/manual/automake.html#Include > > Moreover this would makes the future move/rename of directories less > troublesome. > > WDYT?
Hey, didn’t know about that one! :-) So yes, %D%, why not? Ludo’.