From: Jeff King Date: Tue, 07 Apr 2009 07:31:56 GMT Subject: Re: [PATCH 0/4] NO_PERL support Message-ID: <20090407073155.GA7243@coredump.intra.peff.net> In-Reply-To: <20090403192700.GA14965@coredump.intra.peff.net> On Fri, Apr 03, 2009 at 03:27:01PM -0400, Jeff King wrote: > OK, here is a series based on Robin's patch that I think is suitable for > inclusion in mainstream git. The first two are related cleanups, the > third is a rebase of what I sent earlier today, and the fourth covers > the matching tests. > > 1/4: commit: abort commit if interactive add failed > 2/4: tests: remove exit after test_done call > 3/4: Makefile: allow building without perl > 4/4: tests: skip perl tests if NO_PERL is defined And here is a 5/4 that I missed when looking at Robin's patch. -- >8 -- Subject: [PATCH] Makefile: disable perl entirely for empty PERL_PATH This matches the TCLTK_PATH behavior. Signed-off-by: Jeff King --- Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 584a757..6e0fe24 100644 --- a/Makefile +++ b/Makefile @@ -1109,6 +1109,10 @@ ifeq ($(TCLTK_PATH),) NO_TCLTK=NoThanks endif +ifeq ($(PERL_PATH),) +NO_PERL=NoThanks +endif + QUIET_SUBDIR0 = +$(MAKE) -C # space to separate -C and subdir QUIET_SUBDIR1 = -- 1.6.2.2.450.gd6aa9.dirty