aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-05-18 01:54:39 +0000
committerDaniel Jacobowitz <drow@false.org>2005-05-18 01:54:39 +0000
commit149cfe5bb4a7ede3dabf1e9cee86472e408ec068 (patch)
tree300e489245901621f37388f1586af4631b0053c0 /sim
parent96b0c7acfeaf47d7c54f42be4692de01edb9ec7e (diff)
downloadgdb-149cfe5bb4a7ede3dabf1e9cee86472e408ec068.zip
gdb-149cfe5bb4a7ede3dabf1e9cee86472e408ec068.tar.gz
gdb-149cfe5bb4a7ede3dabf1e9cee86472e408ec068.tar.bz2
* Make-common.in (install-common, installdirs): Honor $DESTDIR.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/Make-common.in10
2 files changed, 9 insertions, 5 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 1d18f7d..82281e3 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Make-common.in (install-common, installdirs): Honor $DESTDIR.
+
2005-04-20 Manoj Iyer <manjo@austin.ibm.com>
* sim-types.h: Changed unsigned32 and unsigned64 to signed32
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index ed35cf6..37162c2 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -616,14 +616,14 @@ install: install-common $(SIM_EXTRA_INSTALL)
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)"