From: Ole J. B. <ole...@ya...> - 2011-05-14 12:45:31
|
On Fri, 13 May 2011 13:24:29 +0200, Etan Reisner <de...@un...> wrote: > On Fri, May 13, 2011 at 08:58:20AM +0200, Ole Jørgen Brønner wrote: >> Ah.. so that's what ac stands for :) > > Heh. > >> I have used system-ac.mk to avoid constant diffs from git/darcs since I need local changes in build configuration. >> >> Maybe there is another way to avoid that problem though? I guess git might have some sort of ignore mechanism for these kinds of things. > > Yeah, it occurred to me as I was writing my email that things like this > (and/or distributions wanting to package notion) could use system-ac.mk to > avoid needing to edit system.mk or use env vars. > > But I'm not convinced that's a useful enough reason to keep it around. > > I'm also open to simply having system.mk include (without failing if it > doesn't exit) a local.mk (or similar) file to allow these sort of > custom definitions. > > But this is exactly the sort of thing that caused me to send an email > about this before just making the change. > > -Etan > Well, what do other people do with git and local modifications? 'make -f custom-makefile' ? git has some sort of relevant mechanism: http://dancingpenguinsoflight.com/2010/02/git-tip-ignoring-modifications-to-tracked-files/ - Ole |