Skip to contentSkip to conversation

Make tools use DESTDIR as well (otherwise rpm build is broken)

PATCH In review Chris Wright 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make tools use DESTDIR as well (otherwise rpm build is broken)

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 <[email protected]> 1124215389 -0700
committer Chris Wright <[email protected]> 1124215389 -0700

Make tools use DESTDIR as well (otherwise rpm build is broken).

tools/Makefile +1 -1
@@ -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: