From: Eli Zaretskii Date: Mon, 10 Sep 2018 07:14:04 +0000 (+0300) Subject: Fix "make install-strip" failure to install gdb-add-index.sh X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23c4651c060c123493de004ef61d8ed052d46113;p=binutils-gdb.git Fix "make install-strip" failure to install gdb-add-index.sh gdb/ChangeLog: 2018-09-10 Eli Zaretskii * Makefile.in (transformed_name): Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install gdb-add-index.sh. Don't append $(EXEEXT) to the script, as it is not a program. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 96b28b07026..7b0ef2e1f99 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2018-09-10 Eli Zaretskii + + * Makefile.in (transformed_name): Use INSTALL_SCRIPT instead of + INSTALL_PROGRAM to install gdb-add-index.sh. Don't append + $(EXEEXT) to the script, as it is not a program. + 2018-09-09 Simon Marchi * python/py-prettyprint.c (pretty_print_one_value): Return diff --git a/gdb/Makefile.in b/gdb/Makefile.in index c76a4e4394c..d49f3eef446 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1765,8 +1765,8 @@ install-only: $(CONFIG_INSTALL) else \ true ; \ fi ; \ - $(INSTALL_PROGRAM) $(srcdir)/contrib/gdb-add-index.sh \ - $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) + $(INSTALL_SCRIPT) $(srcdir)/contrib/gdb-add-index.sh \ + $(DESTDIR)$(bindir)/$$transformed_name @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do install-strip: