diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2018-01-11 16:12:05 -0500 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2018-01-12 15:29:06 -0500 |
commit | ba643918cf869fa0d064d733f69b453b6fe642ea (patch) | |
tree | d86f77a2add787a64e9c1d18053b0ce627114ed5 /gdb/Makefile.in | |
parent | 906b4aac4c1d3cdb2b1ea7105133cfbe25e04e14 (diff) | |
download | gdb-ba643918cf869fa0d064d733f69b453b6fe642ea.zip gdb-ba643918cf869fa0d064d733f69b453b6fe642ea.tar.gz gdb-ba643918cf869fa0d064d733f69b453b6fe642ea.tar.bz2 |
Install and generate docs for gdb-add-index
The "gdb-add-index" script has been resurrected on:
commit caf26be91a584ef141ac5d3cb31007731af8b8e3
Author: Samuel Bronson <naesten@gmail.com>
Date: Fri Nov 15 16:09:33 2013 -0500
Resurrect gdb-add-index as a contrib script
However, for some reason (I couldn't find it in the archives), only
the script has been checked-in; the Makefile parts responsible for
installing it in the system were left out. This commit fixes that, by
also resurrecting the Makefile and documentation bits.
This commit is part of our effort to upstream the local Fedora GDB
changes. With this commit, we'll only carry a very small
Fedora-specific modification to the script.
gdb/ChangeLog:
2017-01-12 Tom Tromey <tom@tromey.com>
Sergio Durigan Junior <sergiodj@redhat.com>
* Makefile.in (install-only): Install gdb-add-index.
gdb/doc/ChangeLog:
2017-01-12 Tom Tromey <tom@tromey.com>
Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.texinfo (Index Files): Mention gdb-add-index.
(gdb-add-index man): New section.
* Makefile.in (gdb-add-index.1): New rule to generate manpage
from gdb.texinfo.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 17b71c6..0a4a06b 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1770,6 +1770,15 @@ install-only: $(CONFIG_INSTALL) $(INSTALL_SCRIPT) gcore \ $(DESTDIR)$(bindir)/$$transformed_name; \ fi + transformed_name=`t='$(program_transform_name)'; \ + echo gdb-add-index | sed -e "$$t"` ; \ + if test "x$$transformed_name" = x; then \ + transformed_name=gdb-add-index ; \ + else \ + true ; \ + fi ; \ + $(INSTALL_PROGRAM) $(srcdir)/contrib/gdb-add-index.sh \ + $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do install-strip: |