From: Simon Richter <Simon.Richter@hogyros.de>
To: gdb@sources.redhat.com
Subject: Obvious patch to sim/common/Make-common.in
Date: Mon, 09 May 2005 19:26:00 -0000 [thread overview]
Message-ID: <427FB968.3050500@hogyros.de> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 71 bytes --]
Hi,
this patch makes DESTDIR installs work for me in sim/ .
Simon
[-- Attachment #1.2: sim.diff --]
[-- Type: text/x-patch, Size: 1630 bytes --]
Index: sim/ChangeLog
===================================================================
RCS file: /cvs/src/src/sim/ChangeLog,v
retrieving revision 1.56
diff -u -r1.56 ChangeLog
--- sim/ChangeLog 29 Apr 2005 14:48:02 -0000 1.56
+++ sim/ChangeLog 9 May 2005 19:17:32 -0000
@@ -1,3 +1,7 @@
+2005-05-09 Simon Richter <Simon.Richter@hogyros.de>
+
+ * common/Make-common.in: add missing $(DESTDIR) in install target
+
2005-04-29 Paul Brook <paul@codesourcery.com>
* common/callback.c (PIPE_BUF): Provide default refinition.
Index: sim/common/Make-common.in
===================================================================
RCS file: /cvs/src/src/sim/common/Make-common.in,v
retrieving revision 1.21
diff -u -r1.21 Make-common.in
--- sim/common/Make-common.in 27 Apr 2005 20:38:08 -0000 1.21
+++ sim/common/Make-common.in 9 May 2005 19:17:32 -0000
@@ -616,14 +616,14 @@
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 ; \
+ $(RANLIB) $(DESTDIR)$(libdir)/$$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)"
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 307 bytes --]
reply other threads:[~2005-05-09 19:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=427FB968.3050500@hogyros.de \
--to=simon.richter@hogyros.de \
--cc=gdb@sources.redhat.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).