Re: [PATCH] Include Makefile.localdef in Makefile, if it exists.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 3, 2005, 19:14 UTC
- Message-ID
- <7vmzjixaak.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <3061.1133591717@lotus.CS.Berkeley.EDU>
Jason Riedy <ejr@EECS.Berkeley.EDU> writes:
> ... I might > send along such a patch, along with a note about config.mak in > INSTALL...
Please don't, unless you are confident your change can satisfy _everybody_.
People with makefile needs that are more "advanced" (that is, something a simple "-include config.mak" cannot easily satisfy) can do any number of things without touching Makefile I ship. Examples include:
- have own makefile, include Makefile.
- have onw Make script, run "make -f Makefile" with preset "bindir=HERE NO_XXX=NoThanks" to reduce typing.
- have own makefile, whose build target depends on Make.file and runs "make -f Make.file", with a build rule for Make.file to munge Makefile using custom perl/sed into it.