From: Chris Wright Date: Tue, 16 Aug 2005 18:28:02 GMT Subject: [PATCH] Make tools use DESTDIR as well (otherwise rpm build is broken) Message-ID: <20050816182802.GH8041@shell0.pdx.osdl.net> Please pull from: rsync.kernel.org://pub/scm/linux/kernel/git/chrisw/git This will give you the following trivial fix for the rpm build, where tools was still using dest not DESTDIR. thanks, -chris -- diff-tree 5eaaed02111510ff00b288a99ec3d203d5d1761f (from d9ac9df41c8c1c3a2f5b0fb1bcc0546dc1bafba2) tree 636f8c808fd80fb886c5c8b96e854d7d9dea8591 parent d9ac9df41c8c1c3a2f5b0fb1bcc0546dc1bafba2 author Chris Wright 1124215389 -0700 committer Chris Wright 1124215389 -0700 Make tools use DESTDIR as well (otherwise rpm build is broken). Signed-off-by: Chris Wright diff --git a/tools/Makefile b/tools/Makefile --- a/tools/Makefile +++ b/tools/Makefile @@ -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: