* Obvious patch to sim/common/Make-common.in
@ 2005-05-09 19:26 Simon Richter
0 siblings, 0 replies; only message in thread
From: Simon Richter @ 2005-05-09 19:26 UTC (permalink / raw)
To: gdb
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-09 19:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-09 19:26 Obvious patch to sim/common/Make-common.in Simon Richter
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).