Skip to content

Commit 5be3b17

Browse files
committed
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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 66e35fc commit 5be3b17

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,9 @@ install: all
15291529
$(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
15301530
$(INSTALL) git$X git-upload-pack$X git-receive-pack$X git-upload-archive$X git-shell$X git-cvsserver '$(DESTDIR_SQ)$(bindir_SQ)'
15311531
$(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
1532+
ifndef NO_PERL
15321533
$(MAKE) -C perl prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install
1534+
endif
15331535
ifndef NO_TCLTK
15341536
$(MAKE) -C gitk-git install
15351537
$(MAKE) -C git-gui gitexecdir='$(gitexec_instdir_SQ)' install

0 commit comments

Comments
 (0)