From 5be3b17f094d832458238e4d2979cf9ab7118b6f Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 22 Apr 2009 22:42:28 -0700 Subject: [PATCH] Makefile: ignore perl/ subdirectory under NO_PERL The install target still descends into perl subdirectory when NO_PERL is requested. Fix this. Acked-by: Jeff King Signed-off-by: Junio C Hamano --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 49f36f578..6f602c7bb 100644 --- a/Makefile +++ b/Makefile @@ -1529,7 +1529,9 @@ install: all $(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)' $(INSTALL) git$X git-upload-pack$X git-receive-pack$X git-upload-archive$X git-shell$X git-cvsserver '$(DESTDIR_SQ)$(bindir_SQ)' $(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install +ifndef NO_PERL $(MAKE) -C perl prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install +endif ifndef NO_TCLTK $(MAKE) -C gitk-git install $(MAKE) -C git-gui gitexecdir='$(gitexec_instdir_SQ)' install -- 2.26.2