From: Gerald Pfeifer Date: Sat, 25 Jul 1998 22:30:55 +0000 (-0600) Subject: Makefile.in (install-info): Only try to update the info directory file if it exists... X-Git-Tag: prereleases/egcs-1.1-prerelease~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73a5fb2b6abbfef05fbe74344249fe50ab53c5a7;p=thirdparty%2Fgcc.git 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 --- 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*