{"thread":{"id":"1535","subject":"[PATCH] Make tools use DESTDIR as well (otherwise rpm build is broken)","startedAt":"2005-08-16T18:28:02Z","lastAt":"2005-08-16T18:59:39Z","messageCount":2,"participants":["Chris Wright","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"7371","messageId":"20050816182802.GH8041@shell0.pdx.osdl.net","threadId":"1535","inReplyTo":null,"subject":"[PATCH] Make tools use DESTDIR as well (otherwise rpm build is broken)","fromName":"Chris Wright","fromEmail":"chrisw@osdl.org","sentAt":"2005-08-16T18:28:02Z","receivedAt":"2005-08-16T18:28:02Z","isPatch":true,"sender":{"key":"chrisw@sous-sol.org","avatar":null},"body":"Please pull from:\n\trsync.kernel.org://pub/scm/linux/kernel/git/chrisw/git\n\nThis will give you the following trivial fix for the rpm build, where\ntools was still using dest not DESTDIR.\n\nthanks,\n-chris\n--\n\ndiff-tree 5eaaed02111510ff00b288a99ec3d203d5d1761f (from d9ac9df41c8c1c3a2f5b0fb1bcc0546dc1bafba2)\ntree 636f8c808fd80fb886c5c8b96e854d7d9dea8591\nparent d9ac9df41c8c1c3a2f5b0fb1bcc0546dc1bafba2\nauthor Chris Wright <chrisw@osdl.org> 1124215389 -0700\ncommitter Chris Wright <chrisw@osdl.org> 1124215389 -0700\n\n    Make tools use DESTDIR as well (otherwise rpm build is broken).\n    \n    Signed-off-by: Chris Wright <chrisw@osdl.org>\n\ndiff --git a/tools/Makefile b/tools/Makefile\n--- a/tools/Makefile\n+++ b/tools/Makefile\n@@ -18,7 +18,7 @@ git-%: %.c\n all: $(PROGRAMS)\n \n install: $(PROGRAMS) $(SCRIPTS)\n-\t$(INSTALL) -m755 -d $(dest)$(bindir)\n+\t$(INSTALL) -m755 -d $(DESTDIR)$(bindir)\n \t$(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir)\n \n clean:\n"},{"id":"7372","messageId":"7vd5odd7xg.fsf@assigned-by-dhcp.cox.net","threadId":"1535","inReplyTo":"20050816182802.GH8041@shell0.pdx.osdl.net","subject":"Re: [PATCH] Make tools use DESTDIR as well (otherwise rpm build is broken)","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-08-16T18:59:39Z","receivedAt":"2005-08-16T18:59:39Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"My bug.  Thanks.\n"}]}