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

Re: [PATCH] Fix git.c compilation target

From
Alex Riesen <raa.lkml@gmail.com>
Date
Nov 21, 2005, 09:24 UTC
Message-ID
<81b0412b0511210124u5cc0d4efv2045123d92872c66@mail.gmail.com>
In-Reply-To
<81b0412b0511210010m66a3f898q6d108a799de023d9@mail.gmail.com>

There was more to it. The patch removes a reference to git.sh from Makefile and installs _all_ programs and scripts.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Subject: [PATCH] forget git.sh and install all programs and scripts
Signed-off-by: Alex Riesen <ariesen@harmanbecker.com>
---
 Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

applies-to: 0d9013b9e1804aa68afbc6328d9cf93f36a6bebe c32490dd373e0fb8b963aa0d2aa31f8a209e09b1

diff --git a/Makefile b/Makefile
index 65b948b..f6f4b87 100644
--- a/Makefile
+++ b/Makefile
@@ -352,7 +352,7 @@ git$(X): git.c Makefile
 	$(CC) -DGIT_EXEC_PATH='"$(bindir)"' -DGIT_VERSION='"$(GIT_VERSION)"' \
 		$(CFLAGS) $< -o $@
 
-$(filter-out git,$(patsubst %.sh,%,$(SCRIPT_SH))) : % : %.sh
+$(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh
 	rm -f $@
 	sed -e '1s|#!.*/sh|#!$(call shq,$(SHELL_PATH))|' \
 	    -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
@@ -436,9 +436,9 @@ check:
 
 ### Installation rules
 
-install: $(PROGRAMS) $(SCRIPTS) git
+install: $(PROGRAMS) $(SCRIPTS) git$(X)
 	$(INSTALL) -d -m755 $(call shellquote,$(DESTDIR)$(bindir))
-	$(INSTALL) git $(PROGRAMS) $(SCRIPTS) $(call shellquote,$(DESTDIR)$(bindir))
+	$(INSTALL) $+ $(call shellquote,$(DESTDIR)$(bindir))
 	$(MAKE) -C templates install
 	$(INSTALL) -d -m755 $(call shellquote,$(DESTDIR)$(GIT_PYTHON_DIR))
 	$(INSTALL) $(PYMODULES) $(call shellquote,$(DESTDIR)$(GIT_PYTHON_DIR))
---
0.99.9.GIT
Previous: Alex RiesenNext: Junio C Hamano
Message 2 of 6 in “Fix git.c compilation target”
  1. Fix git.c compilation targetAlex Riesen, Nov 21, 2005
  2. Alex RiesenNov 21, 2005
  3. Junio C HamanoNov 21, 2005
  4. Re: [PATCH] Fix git.c compilation targetAndreas Ericsson, Nov 21, 2005
  5. Alex RiesenNov 22, 2005
  6. Junio C HamanoNov 22, 2005

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.