Fix "make install-strip" failure to install gdb-add-index.sh
authorEli Zaretskii <eliz@gnu.org>
Mon, 10 Sep 2018 07:14:04 +0000 (10:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 10 Sep 2018 07:14:04 +0000 (10:14 +0300)
gdb/ChangeLog:
2018-09-10  Eli Zaretskii  <eliz@gnu.org>

* 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.

gdb/ChangeLog
gdb/Makefile.in

index 96b28b070269ac6a29cd576269f0eecc0dd4511b..7b0ef2e1f9922568d0f1cc822de54bae556d9878 100644 (file)
@@ -1,3 +1,9 @@
+2018-09-10  Eli Zaretskii  <eliz@gnu.org>
+
+       * 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  <simon.marchi@ericsson.com>
 
        * python/py-prettyprint.c (pretty_print_one_value): Return
index c76a4e4394cddcb03dbfb061da0463321f5364a7..d49f3eef446e81efa94aa43040671cd92e7028a9 100644 (file)
@@ -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:
This page took 0.060515 seconds and 4 git commands to generate.