threads / patch / 525

patchmake INSTALL binary in Makefile configurable via make variable

Subject: [PATCH] make INSTALL binary in Makefile configurable via make variable

## tl;dr

One message between May 7, 2005 and May 7, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Thomas Glanzmann· May 7, 2005, 08:41 UTC · lore
[PATCH] make INSTALL binary in Makefile configurable via make variable
On Solaris machines gnu install called ginstall
Signed-Off-by: Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
Show changes to Makefile +2 −2
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@
 
 CC=gcc
 AR=ar
+INSTALL=install
 
 SCRIPTS=git-apply-patch-script git-merge-one-file-script git-prune-script \
 	git-pull-script git-tag-script git-resolve-script
@@ -26,7 +27,7 @@
 all: $(PROG)
 
 install: $(PROG) $(SCRIPTS)
-	install $(PROG) $(SCRIPTS) $(HOME)/bin/
+	$(INSTALL) $(PROG) $(SCRIPTS) $(HOME)/bin/
 
 LIB_OBJS=read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o \
 	 tag.o date.o
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

← back to recent threads