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:
parent
b0a766e89d
commit
f8c86b58a2
1 changed files with 2 additions and 0 deletions
|
@ -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*
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue