Make tools use DESTDIR as well (otherwise rpm build is broken).
authorChris Wright <chrisw@osdl.org>
Tue, 16 Aug 2005 18:28:02 +0000 (11:28 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 16 Aug 2005 18:59:09 +0000 (11:59 -0700)
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
tools/Makefile

index 779177c..5cc6d14 100644 (file)
@@ -18,7 +18,7 @@ git-%: %.c
 all: $(PROGRAMS)
 
 install: $(PROGRAMS) $(SCRIPTS)
-       $(INSTALL) -m755 -d $(dest)$(bindir)
+       $(INSTALL) -m755 -d $(DESTDIR)$(bindir)
        $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir)
 
 clean: