aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1992-08-03 22:07:36 +0000
committerDavid D. Zuhn <zoo@cygnus>1992-08-03 22:07:36 +0000
commitb40f9c73f7fbe83e5278ad87b087d0ff1a4a11b1 (patch)
treea23d44b178496d82506bb7d284af8f201240384a /ld
parenteafc6d85c63f836c43fc90563d1605c39f30de86 (diff)
downloadgdb-b40f9c73f7fbe83e5278ad87b087d0ff1a4a11b1.zip
gdb-b40f9c73f7fbe83e5278ad87b087d0ff1a4a11b1.tar.gz
gdb-b40f9c73f7fbe83e5278ad87b087d0ff1a4a11b1.tar.bz2
fix installation problem which forced a relink of ld on 2nd and subsequent installation
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog14
-rw-r--r--ld/Makefile.in12
2 files changed, 20 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 877ffed..b7bf2d0 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,17 @@
+Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
+
+ * Makefile.in (install): install from ld.new, renaming during the
+ copy, or else the next 'make install' needs to re-link ld.
+
+Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
+
+ * configure.in: generalise hp recognition (from sef).
+
+Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
+
+ * configure.in: recognize bsd and hpux hppa configurations.
+ error messages echo to stderr, not stdout
+
Fri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
* Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c,
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 5ba465d..e9c98b0 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -23,6 +23,7 @@ srcdir = .
prefix = /usr/local
program_prefix =
+program_suffix =
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
@@ -412,13 +413,12 @@ objdump:objdump.c
.PHONY: install
install: $(LD_PROG)
- mv ld.new ld
- -rm -f $(bindir)/$(program_prefix)ld
- $(INSTALL_PROGRAM) ld $(bindir)/$(program_prefix)ld
+ -rm -f $(bindir)/$(program_prefix)ld$(program_suffix)
+ $(INSTALL_PROGRAM) ld.new $(bindir)/$(program_prefix)ld$(program_suffix)
-rm -f $(tooldir)/ld
- if [ -d $(tooldir) ]; then $(INSTALL_PROGRAM) ld $(tooldir)/ld; else true; fi
- -rm -f $(man1dir)/$(program_prefix)ld.1
- $(INSTALL_DATA) $(srcdir)/gld.1 $(man1dir)/$(program_prefix)ld.1
+ if [ -d $(tooldir) ]; then $(INSTALL_PROGRAM) ld.new $(tooldir)/ld; else true; fi
+ -rm -f $(man1dir)/$(program_prefix)ld$(program_suffix).1
+ $(INSTALL_DATA) $(srcdir)/gld.1 $(man1dir)/$(program_prefix)ld$(program_suffix).1
install-info: info
for i in ld.info* ; do \