diff options
author | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | 1998-07-25 16:30:26 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-07-25 16:30:26 -0600 |
commit | f8c86b58a22cb2fc2dc0c9acc34c8f9aaa2bfcab (patch) | |
tree | 41f8700fd033d83de7d661b2b3d88c113693a16c /gcc | |
parent | b0a766e89d4a0830613b8371ba453a3e9bda631a (diff) | |
download | gcc-f8c86b58a22cb2fc2dc0c9acc34c8f9aaa2bfcab.zip gcc-f8c86b58a22cb2fc2dc0c9acc34c8f9aaa2bfcab.tar.gz gcc-f8c86b58a22cb2fc2dc0c9acc34c8f9aaa2bfcab.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
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* |