summaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/Makefile.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 247ac577da4..da28b7166fe 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-26 Andrew Cagney <cagney@gnu.org>
+
+ Problem from Olaf Hering <olh@suse.de>.
+ * Makefile.in (install-man, installdirs): Add DESTDIR prefix.
+
2004-06-28 Andrew Cagney <cagney@gnu.org>
* run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
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