From c166cdc7eb1d8c801692209b02dbcab1a8223ee8 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Tue, 26 Nov 2002 22:44:37 +0000 Subject: [PATCH] 2002-11-26 Elena Zannoni 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. --- gdb/doc/ChangeLog | 8 ++++++++ gdb/doc/Makefile.in | 19 +++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 752cecf2f68..6a0c30af35e 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,11 @@ +2002-11-26 Elena Zannoni + + 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 * Makefile.in (install): Make install do some real work. diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index 2791e4581ba..b17cce83dad 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 -- 2.30.2