[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] build: Move included files to subdirectories.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 1/2] build: Move included files to subdirectories. |
Date: |
Sun, 17 Apr 2016 00:54:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Mathieu Lirzin <address@hidden> skribis:
> 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?
Hey, didn’t know about that one! :-)
So yes, %D%, why not?
Ludo’.
- Re: [PATCH 2/2] build: Move environment scripts to 'build-aux' directory., (continued)
Re: [PATCH 2/2] build: Move environment scripts to 'build-aux' directory., Ludovic Courtès, 2016/04/14
[PATCH 1/2] build: Move included files to subdirectories., Mathieu Lirzin, 2016/04/03