aboutsummaryrefslogtreecommitdiff
path: root/libjava/Makefile.am
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2007-01-21 07:47:15 +0000
committerMatthias Klose <doko@gcc.gnu.org>2007-01-21 07:47:15 +0000
commit52b213f385400a4f4adfa2a167fe8ec6303e4ca7 (patch)
tree0f50230f8c76d559384035b5b6422f56f7afb7d0 /libjava/Makefile.am
parentd2f9f9a62d25b0d4f358952430664c76a86967e9 (diff)
downloadgcc-52b213f385400a4f4adfa2a167fe8ec6303e4ca7.zip
gcc-52b213f385400a4f4adfa2a167fe8ec6303e4ca7.tar.gz
gcc-52b213f385400a4f4adfa2a167fe8ec6303e4ca7.tar.bz2
Makefile.am (install-exec-hook): Use transformed name.
2007-01-21 Matthias Klose <doko@debian.org> * Makefile.am (install-exec-hook): Use transformed name. * Makefile.in: Regenerate. From-SVN: r121025
Diffstat (limited to 'libjava/Makefile.am')
-rw-r--r--libjava/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index a89a7f3..eed4f6b 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -447,10 +447,10 @@ if USE_LIBGCJ_BC
endif
if BUILD_ECJ1
if NATIVE
- mv $(DESTDIR)$(libexecsubdir)/ecjx$(EXEEXT) $(DESTDIR)$(libexecsubdir)/ecj1$(host_exeext)
+ mv $(DESTDIR)$(libexecsubdir)/`echo ecjx | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` $(DESTDIR)$(libexecsubdir)/ecj1$(host_exeext)
else !NATIVE
## Undo the prepending of the target prefix
- mv $(DESTDIR)$(libexecsubdir)/$(target_noncanonical)-ecjx$(EXEEXT) $(DESTDIR)$(libexecsubdir)/ecj1$(host_exeext)
+ mv $(DESTDIR)$(libexecsubdir)/$(target_noncanonical)-`echo ecjx | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'` $(DESTDIR)$(libexecsubdir)/ecj1$(host_exeext)
endif !NATIVE
endif BUILD_ECJ1