Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Martin Koegler <mkoegler@auto.tuwien.ac.at>,
	gdb-patches@sources.redhat.com
Cc: Dimitry Andric <dimitry@andric.com>,
	Simon Richter <Simon.Richter@hogyros.de>
Subject: Re: [PATCH] Add support for DESTDIR to the simulator core
Date: Wed, 18 May 2005 03:18:00 -0000	[thread overview]
Message-ID: <20050518015450.GC10888@nevyn.them.org> (raw)
In-Reply-To: <20050510205336.GA11701@nevyn.them.org>

On Tue, May 10, 2005 at 04:53:36PM -0400, Daniel Jacobowitz wrote:
> The other two patches did not modify FLAGS_TO_PASS; is this really
> necessary?  I don't believe it is.

I didn't get an answer to this so I am going to assume that it isn't.

None of the three submitted versions of this patch had a correct
ChangeLog, so I redid it myself.  Thank you all for reporting the
problem.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>

	* Make-common.in (install-common, installdirs): Honor $DESTDIR.

Index: Make-common.in
===================================================================
RCS file: /cvs/src/src/sim/common/Make-common.in,v
retrieving revision 1.21
diff -u -p -r1.21 Make-common.in
--- Make-common.in	27 Apr 2005 20:38:08 -0000	1.21
+++ Make-common.in	18 May 2005 01:54:13 -0000
@@ -616,14 +616,14 @@ install: install-common $(SIM_EXTRA_INST
 
 install-common: installdirs
 	n=`echo run | sed '$(program_transform_name)'`; \
-	$(INSTALL_PROGRAM) run$(EXEEXT) $(bindir)/$$n$(EXEEXT)
+	$(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
 	n=`echo libsim.a | sed s/libsim.a/lib$(target_alias)-sim.a/`; \
-	$(INSTALL_DATA) libsim.a $(libdir)/$$n ; \
-	( cd $(libdir) ; $(RANLIB) $$n )
+	$(INSTALL_DATA) libsim.a $(DESTDIR)$(libdir)/$$n ; \
+	( cd $(DESTDIR)$(libdir) ; $(RANLIB) $$n )
 
 installdirs:
-	$(SHELL) $(srcdir)/../../mkinstalldirs $(bindir)
-	$(SHELL) $(srcdir)/../../mkinstalldirs $(libdir)
+	$(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir)
+	$(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir)
 
 check:
 	cd ../testsuite && $(MAKE) check RUNTESTFLAGS="$(RUNTESTFLAGS)"


      parent reply	other threads:[~2005-05-18  1:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10 20:53 Martin Koegler
2005-05-10 21:36 ` Daniel Jacobowitz
2005-05-10 21:38   ` Mark Kettenis
2005-05-10 21:42     ` Daniel Jacobowitz
2005-05-18  3:18   ` Daniel Jacobowitz [this message]

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=20050518015450.GC10888@nevyn.them.org \
    --to=drow@false.org \
    --cc=Simon.Richter@hogyros.de \
    --cc=dimitry@andric.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mkoegler@auto.tuwien.ac.at \
    /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