automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Automake-NG] [FYI] general: include verbatim makefile fragments in


From: Stefano Lattarini
Subject: Re: [Automake-NG] [FYI] general: include verbatim makefile fragments in output Makefiles
Date: Thu, 02 Aug 2012 16:18:11 +0200

On 08/02/2012 03:39 PM, Akim Demaille wrote:
> 
> Le 2 août 2012 à 11:47, Stefano Lattarini a écrit :
> 
>> Instead of copying their contents in each output Makefile.
>>
>> * automake.in (verbatim): Instead of copying the given Makefile fragment
>> in the output makefile, copy it in the '.mk' subdirectory of the top-level
>> source directory (i.e., the one automake is being run into).  And return
>> a proper "include" directive that will allow GNU make to include that
>> fragment in the generated Makefile at make runtime.
>> * lib/am/distdir.am: Distribute the '.mk' subdirectory of the top-level
>> source directory, with the help of ...
>> (am.dist.mk-files): ... this new internal variable.
> 
> I like very much the idea, but I don't really like the name.
>
OK, I say we can change it in a follow-up.  I'm not particularly attached
to the one I've chosen -- it was just the first one which crossed my mind.

> Why hide it? It will show anyway.  IMHO, this should be
> build-aux/automake/ or build-aux/mk.
>
I guess you use "build-aux" to mean "the directory specified by
AC_CONFIG_AUX_DIR", right?  If yes, I agree this would offer more
clarity and flexibility, so I'll implement the change in a follow-up
(with you and Bob in the "Suggested-by:" field).

Thanks,
  Stefano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]