threads / patch / 1535

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

Subject: [PATCH] Make tools use DESTDIR as well (otherwise rpm build is broken)

## tl;dr

2 messages between Aug 16, 2005 and Aug 16, 2005. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Chris Wright· Aug 16, 2005, 18:28 UTC · lore
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 <chrisw@osdl.org> 1124215389 -0700 committer Chris Wright <chrisw@osdl.org> 1124215389 -0700

    Make tools use DESTDIR as well (otherwise rpm build is broken).
    
    Signed-off-by: Chris Wright <chrisw@osdl.org>
Show changes to tools/Makefile +1 −1
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:

← back to recent threads