git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Makefile: ignore perl/ subdirectory under NO_PERL

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 23, 2009, 05:42 UTC
Message-ID
<7v3ac0x6wr.fsf@gitster.siamese.dyndns.org>

The install target still descends into perl subdirectory when NO_PERL is requested. Fix this.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 * I think the very original from Robin had this exclusion, but somehow it
   seems to have got lost.  Right now, perl/Makefile does not do anything
   that depends on having perl, but I think we do not have/need to rely on
   that.
 Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 49f36f5..6f602c7 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
Next: Jeff King
Message 1 of 2 in “Makefile: ignore perl/ subdirectory under NO_PERL”
  1. Makefile: ignore perl/ subdirectory under NO_PERLJunio C Hamano, Apr 23, 2009
  2. Jeff KingApr 23, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.