From f8c86b58a22cb2fc2dc0c9acc34c8f9aaa2bfcab Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 25 Jul 1998 16:30:26 -0600 Subject: Makefile.in (install-info): Only try to update the info directory file if it exists in the first place. 8 * Makefile.in (install-info): Only try to update the info directory file if it exists in the first place. From-SVN: r21383 --- gcc/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc') diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ea0a0b5..09e8612 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2388,9 +2388,11 @@ install-info: doc installdirs lang.install-info $(INSTALL_DATA) $$f $(infodir)/$$f; \ done -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ + if [ -f $(infodir)/dir ] ; then \ for f in cpp.info gcc.info; do \ install-info --dir-file=$(infodir)/dir $(infodir)/$$f; \ done; \ + else true; fi; \ else true; fi; -chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info* -- cgit v1.1