diff options
author | David D. Zuhn <zoo@cygnus> | 1992-08-03 22:07:36 +0000 |
---|---|---|
committer | David D. Zuhn <zoo@cygnus> | 1992-08-03 22:07:36 +0000 |
commit | b40f9c73f7fbe83e5278ad87b087d0ff1a4a11b1 (patch) | |
tree | a23d44b178496d82506bb7d284af8f201240384a /ld/Makefile.in | |
parent | eafc6d85c63f836c43fc90563d1605c39f30de86 (diff) | |
download | gdb-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/Makefile.in')
-rw-r--r-- | ld/Makefile.in | 12 |
1 files changed, 6 insertions, 6 deletions
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 \ |