git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
CWChris Wright <chrisw@osdl.org>
Date
Aug 16, 2005, 18:28 UTC
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 <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>
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:
Next: Junio C Hamano
Message 1 of 2 in “Make tools use DESTDIR as well (otherwise rpm build is broken)”
  1. Make tools use DESTDIR as well (otherwise rpm build is broken)Chris Wright, Aug 16, 2005
  2. Junio C HamanoAug 16, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.