From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 1/2] build: Move included files to subdirectories. Date: Sun, 17 Apr 2016 00:54:22 +0200 Message-ID: <87potpdv1d.fsf@gnu.org> References: <1459700326-30016-1-git-send-email-mthl@gnu.org> <1459700326-30016-2-git-send-email-mthl@gnu.org> <20160403213616.52b60218@openmailbox.org> <87shyohymg.fsf@gnu.org> <8737qnx0jm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arZ6l-00054d-Km for guix-devel@gnu.org; Sat, 16 Apr 2016 18:54:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arZ6k-0004Up-OL for guix-devel@gnu.org; Sat, 16 Apr 2016 18:54:31 -0400 In-Reply-To: <8737qnx0jm.fsf@gnu.org> (Mathieu Lirzin's message of "Fri, 15 Apr 2016 00:55:57 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Mathieu Lirzin Cc: guix-devel@gnu.org Mathieu Lirzin skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Eric Bavier 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 > =E2=80=98Makefile=E2=80=99 snippet, we could use =E2=80=98%reldir%=E2=80= =99 or =E2=80=98%D%=E2=80=99 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=E2=80=99t know about that one! :-) So yes, %D%, why not? Ludo=E2=80=99.