diff options
author | Steve Chamberlain <sac@cygnus> | 1993-06-18 01:30:34 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-06-18 01:30:34 +0000 |
commit | d360d135af92fd863e3699921176b55cb2479f8d (patch) | |
tree | da385b055a5261405216df60c3812dacceb102f5 | |
parent | 981dfa40c770a0af9f2ca7c3b92ff91f2339fbbd (diff) | |
download | gdb-d360d135af92fd863e3699921176b55cb2479f8d.zip gdb-d360d135af92fd863e3699921176b55cb2479f8d.tar.gz gdb-d360d135af92fd863e3699921176b55cb2479f8d.tar.bz2 |
Fix install.
-rw-r--r-- | ld/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in index 59391a4..1f8b0c3 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -520,8 +520,10 @@ objdump:objdump.c install: $(INSTALL_XFORM) ld.new $(bindir)/ld $(INSTALL_XFORM1) $(srcdir)/ld.1 $(man1dir)/ld.1 - cd emulations; for f in *; do $(INSTALL_DATA) $$f $(scriptdir)/$$f; done - -n=`t='$(program_transform_name)'; echo ld | sed -e "" $$t`; \ + for f in emulations/*; do \ + $(INSTALL_DATA) $$f $(scriptdir)/`basename $$f` ; \ + done + -n=`t=$(program_transform_name); echo ld | sed -e "" $$t`; \ rm -f $(tooldir)/bin/ld; \ ln $(bindir)/$$n $(tooldir)/bin/ld \ || $(INSTALL_PROGRAM) ld.new $(tooldir)/bin/ld; \ |