|
From: | Bob Friesenhahn |
Subject: | Re: [Automake-NG] [FYI] general: include verbatim makefile fragments in output Makefiles |
Date: | Thu, 2 Aug 2012 09:04:34 -0500 (CDT) |
User-agent: | Alpine 2.01 (GSO 1266 2009-07-14) |
On Thu, 2 Aug 2012, 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. * .gitignore: Add the '.mk' directory.I like very much the idea, but I don't really like the name. Why hide it? It will show anyway. IMHO, this should be build-aux/automake/ or build-aux/mk.
While skimming the interesting changeset (which seems like a good idea) I had not noticed that it was using a "hidden" directory. IMHO, any file included by 'make dist' should not be in a hidden directory. Hidden directories should only be used for build temporary files.
Some projects will choose to check these files into their version control systems and attempting to hide them would only make things more confusing.
In other words, I agree with Akim. :-) Bob -- Bob Friesenhahn address@hidden, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
[Prev in Thread] | Current Thread | [Next in Thread] |