aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/doc/ChangeLog8
-rw-r--r--gdb/doc/Makefile.in19
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