From 73a5fb2b6abbfef05fbe74344249fe50ab53c5a7 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 25 Jul 1998 16:30:55 -0600 Subject: [PATCH] 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: r21385 --- gcc/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index f81dd431f262..8687192e3bdd 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2384,9 +2384,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* -- 2.47.2