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
This commit is contained in:
Gerald Pfeifer 1998-07-25 16:30:26 -06:00 committed by Jeff Law
parent b0a766e89d
commit f8c86b58a2

View file

@ -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*