diff options
author | Alan Modra <amodra@gmail.com> | 2003-11-28 04:58:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-11-28 04:58:41 +0000 |
commit | 75aa66180a3dea42f50760085e39d087fdc2a4ee (patch) | |
tree | e55ba2467194bf005f29cc45eaa1689de9a22b09 /binutils/Makefile.am | |
parent | 9a77938ecf759821fd4be3da72e3071d6b5d7b64 (diff) | |
download | binutils-75aa66180a3dea42f50760085e39d087fdc2a4ee.zip binutils-75aa66180a3dea42f50760085e39d087fdc2a4ee.tar.gz binutils-75aa66180a3dea42f50760085e39d087fdc2a4ee.tar.bz2 |
* Makefile.am (install-exec-local): Remove common term from string
comparison.
* Makefile.in: Regenerate.
* doc/Makefile.am: Don't use $<.
* doc/Makefile.in: Regenerate.
Diffstat (limited to 'binutils/Makefile.am')
-rw-r--r-- | binutils/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am index 2a07cc5..324c0ea 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -350,7 +350,7 @@ install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS) if [ -f $$i$(EXEEXT) ]; then \ j=`echo $$i | sed -e 's/-new//'`; \ k=`echo $$j | sed '$(transform)'`; \ - if [ "$(DESTDIR)$(bindir)/$$k$(EXEEXT)" != "$(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT)" ]; then \ + if [ "$(bindir)/$$k" != "$(tooldir)/bin/$$j" ]; then \ rm -f $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \ ln $(DESTDIR)$(bindir)/$$k$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \ || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$$j$(EXEEXT); \ |