From: Alex Riesen Date: Mon, 21 Nov 2005 09:24:17 GMT Subject: Re: [PATCH] Fix git.c compilation target 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 Subject: [PATCH] forget git.sh and install all programs and scripts Signed-off-by: Alex Riesen --- 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