aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-09-10 10:14:04 +0300
committerEli Zaretskii <eliz@gnu.org>2018-09-10 10:14:04 +0300
commit23c4651c060c123493de004ef61d8ed052d46113 (patch)
treea5e6b01a67320902a6190dcc6cb25ae8562e426a /gdb/Makefile.in
parentf9853190c8d90e9f7d43fae90478a0db291f9c03 (diff)
downloadgdb-23c4651c060c123493de004ef61d8ed052d46113.zip
gdb-23c4651c060c123493de004ef61d8ed052d46113.tar.gz
gdb-23c4651c060c123493de004ef61d8ed052d46113.tar.bz2
Fix "make install-strip" failure to install gdb-add-index.sh
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.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index c76a4e4..d49f3ee 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: