From 8d3daf0125bdab4a370530d5fcd9dd40bf783cb1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 8 Nov 1999 01:29:13 +0000 Subject: [PATCH] * texinfos.am (uninstall-info): Use installed info file, not one from srcdir or builddir. --- ChangeLog | 5 +++++ lib/am/texinfos.am | 8 ++++---- texinfos.am | 8 ++++---- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index a372b662..70f64df7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-10-27 Miodrag Vallat + + * texinfos.am (uninstall-info): Use installed info file, not one + from srcdir or builddir. + 1999-11-07 Tom Tromey * clean.am (maintainer-clean-generic): Remove Makefile.in. From diff --git a/lib/am/texinfos.am b/lib/am/texinfos.am index c256f828..db4c79aa 100644 --- a/lib/am/texinfos.am +++ b/lib/am/texinfos.am @@ -179,10 +179,10 @@ uninstall-info: @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 \ -CYGNUS if test -f $$file; then d=.; else d=$(srcdir); fi; \ -NOTCYGNUS d=$(srcdir); \ - echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $$d/$$file"; \ - install-info --info-dir=$(DESTDIR)$(infodir) --remove $$d/$$file; \ +## install-info needs the actual info file. We use the installed one, +## rather than relying on one still being in srcdir or builddir. + echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \ + install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \ done; \ else :; fi @$(NORMAL_UNINSTALL) diff --git a/texinfos.am b/texinfos.am index c256f828..db4c79aa 100644 --- a/texinfos.am +++ b/texinfos.am @@ -179,10 +179,10 @@ uninstall-info: @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 \ -CYGNUS if test -f $$file; then d=.; else d=$(srcdir); fi; \ -NOTCYGNUS d=$(srcdir); \ - echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $$d/$$file"; \ - install-info --info-dir=$(DESTDIR)$(infodir) --remove $$d/$$file; \ +## install-info needs the actual info file. We use the installed one, +## rather than relying on one still being in srcdir or builddir. + echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \ + install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \ done; \ else :; fi @$(NORMAL_UNINSTALL) -- 2.43.5