fix installation problem which forced a relink of ld on 2nd and subsequent installation
authorDavid D. Zuhn <zoo@cygnus>
Mon, 3 Aug 1992 22:07:36 +0000 (22:07 +0000)
committerDavid D. Zuhn <zoo@cygnus>
Mon, 3 Aug 1992 22:07:36 +0000 (22:07 +0000)
ld/ChangeLog
ld/Makefile.in

index 877ffed..b7bf2d0 100644 (file)
@@ -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,
index 5ba465d..e9c98b0 100644 (file)
@@ -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 \