[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] build: Move included files to subdirectories.
From: |
Mathieu Lirzin |
Subject: |
Re: [PATCH 1/2] build: Move included files to subdirectories. |
Date: |
Fri, 15 Apr 2016 00:55:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> Eric Bavier <address@hidden> 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?
--
Mathieu Lirzin
[PATCH 1/2] build: Move included files to subdirectories., Mathieu Lirzin, 2016/04/03