From 5a645dc5a1bc9af969ea681c656a4a733f59c3f0 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 26 Jul 2004 21:37:46 +0000 Subject: [PATCH] Index: common/ChangeLog 2004-07-26 Andrew Cagney Problem from Olaf Hering . * Makefile.in (install-man, installdirs): Add DESTDIR prefix. Index: ppc/ChangeLog 2004-07-26 Andrew Cagney Problem from Olaf Hering . * Makefile.in (install, installdirs): Add DESTDIR. --- sim/common/ChangeLog | 5 +++++ sim/common/Makefile.in | 4 ++-- sim/ppc/ChangeLog | 5 +++++ sim/ppc/Makefile.in | 4 ++-- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index f30250b63e3..0099da089e5 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2004-07-26 Andrew Cagney + + Problem from Olaf Hering . + * Makefile.in (install-man, installdirs): Add DESTDIR prefix. + 2004-07-10 Ben Elliston * hw-tree.c (parse_integer_property): Typo fix in comments. diff --git a/sim/common/Makefile.in b/sim/common/Makefile.in index 915598c9c43..37c185077b6 100644 --- a/sim/common/Makefile.in +++ b/sim/common/Makefile.in @@ -119,10 +119,10 @@ install: install-man install-man: installdirs n=`echo run | sed '$(program_transform_name)'`; \ - $(INSTALL_DATA) $(srcdir)/run.1 $(man1dir)/$$n.1 + $(INSTALL_DATA) $(srcdir)/run.1 $(DESTDIR)$(man1dir)/$$n.1 installdirs: - $(SHELL) $(srcdir)/../../mkinstalldirs $(man1dir) + $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir) Makefile: Makefile.in config.status $(SHELL) ./config.status diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 63d7e5a263d..651bb11f106 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-26 Andrew Cagney + + Problem from Olaf Hering . + * Makefile.in (install, installdirs): Add DESTDIR. + 2004-07-10 Ben Elliston * tree.c (parse_integer_property): Comment typo fix. diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 5dbd6865b5d..5e00a43c3a8 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -883,7 +883,7 @@ config.status: configure install: installdirs n=`echo run | sed '$(program_transform_name)'`; \ - $(INSTALL_PROGRAM) run$(EXEEXT) $(bindir)/$$n$(EXEEXT) + $(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT) installdirs: - $(SHELL) $(srcdir)/../../mkinstalldirs $(bindir) + $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir) -- 2.30.2