diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-11-26 22:44:37 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-11-26 22:44:37 +0000 |
commit | c166cdc7eb1d8c801692209b02dbcab1a8223ee8 (patch) | |
tree | 5104906e989dbcbc609e29eb76872cfad0fd8456 /gdb/doc | |
parent | f1d786721fc63e6cb671572f46e8ed0838454777 (diff) | |
download | gdb-c166cdc7eb1d8c801692209b02dbcab1a8223ee8.zip gdb-c166cdc7eb1d8c801692209b02dbcab1a8223ee8.tar.gz gdb-c166cdc7eb1d8c801692209b02dbcab1a8223ee8.tar.bz2 |
2002-11-26 Elena Zannoni <ezannoni@redhat.com>
Fix PR gdb/723 and PR gdb/245.
* Makefile.in (install-info): Run the install-info command as part
of the post install steps only.
(uninstall-info): New target.
(uninstall): New target.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/doc/Makefile.in | 19 |
2 files changed, 27 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 752cecf..6a0c30a 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,11 @@ +2002-11-26 Elena Zannoni <ezannoni@redhat.com> + + Fix PR gdb/723 and PR gdb/245. + * Makefile.in (install-info): Run the install-info command as part + of the post install steps only. + (uninstall-info): New target. + (uninstall): New target. + 2002-11-22 Elena Zannoni <ezannoni@redhat.com> * Makefile.in (install): Make install do some real work. diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index 2791e45..b17cce8 100644 --- a/gdb/doc/Makefile.in +++ b/gdb/doc/Makefile.in @@ -156,6 +156,7 @@ install-info: $(INFO_DEPS) else : ; fi; \ done; \ done + $(POST_INSTALL) @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ list='$(INFO_DEPS)'; \ for file in $$list; do \ @@ -164,6 +165,22 @@ install-info: $(INFO_DEPS) done; \ else : ; fi +uninstall-info: + $(PRE_UNINSTALL) + @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ + ii=yes; \ + else ii=; fi; \ + list='$(INFO_DEPS)'; \ + for file in $$list; do \ + test -z "$$ii" \ + || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ + done + $(NORMAL_UNINSTALL) + list='$(INFO_DEPS)'; \ + for file in $$list; do \ + (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ + done + install-html: html for i in *.html ; do \ $(INSTALL_DATA) $$i $(htmldir)/$$i ; \ @@ -433,3 +450,5 @@ maintainer-clean realclean: distclean rm -f GDBvn.texi *.info* *.dvi *.ps *.html *.pdf install: install-info + +uninstall: uninstall-info |