Code

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 779177c5a990fd71d0cacb86dc95d9034f09bfd3..5cc6d14ebc8d0bf7d91157ed57da6399fe30511a 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: