git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: [PATCH] Make tools use DESTDIR as well (otherwise rpm build is broken)
Date: Tue, 16 Aug 2005 11:28:02 -0700	[thread overview]
Message-ID: <20050816182802.GH8041@shell0.pdx.osdl.net> (raw)

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:

             reply	other threads:[~2005-08-16 18:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-16 18:28 Chris Wright [this message]
2005-08-16 18:59 ` [PATCH] Make tools use DESTDIR as well (otherwise rpm build is broken) Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050816182802.GH8041@shell0.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).