From: Junio C Hamano Date: Sun, 29 Nov 2009 02:32:33 GMT Subject: Re: [PATCH 3/4] build dashless "test-bin" directory similar to installed bindir Message-ID: <7vaay6f4ce.fsf@alter.siamese.dyndns.org> In-Reply-To: <20091128194910.GA17605@coredump.intra.peff.net> Jeff King writes: > On Sat, Nov 28, 2009 at 11:44:39AM -0800, Junio C Hamano wrote: > >> . Advertising this forces the Makefile build test-bin/ contents from >> "all" target. I think test-bin/ should only depend on "test" (iow, >> after "make all && make install" there shouldn't have to be "test-bin" >> directory. > > Would implementing it that way mean that: > > make && cd t && make > > does not work (or worse, might silently use stale information in > test-bin)? Why can't t/Makefile have a dependency on its 'default' target that goes up and prepares test-bin/, i.e. "cd .. && make test-bin-stuff"?