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.
This commit is contained in:
parent
f1d786721f
commit
c166cdc7eb
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user