aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.am
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-11-28 04:58:41 +0000
committerAlan Modra <amodra@gmail.com>2003-11-28 04:58:41 +0000
commit75aa66180a3dea42f50760085e39d087fdc2a4ee (patch)
treee55ba2467194bf005f29cc45eaa1689de9a22b09 /binutils/Makefile.am
parent9a77938ecf759821fd4be3da72e3071d6b5d7b64 (diff)
downloadfsf-binutils-gdb-75aa66180a3dea42f50760085e39d087fdc2a4ee.zip
fsf-binutils-gdb-75aa66180a3dea42f50760085e39d087fdc2a4ee.tar.gz
fsf-binutils-gdb-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.am2
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); \