($(infodir)/make.info): Make sure $$dir is set in install-info cmd.

This commit is contained in:
Roland McGrath 1995-05-09 21:14:48 +00:00
parent 13e8568f03
commit c9c43b0871

View File

@ -216,6 +216,7 @@ $(infodir)/make.info: make.info
# We use `$(SHELL) -c' because some shells do not
# fail gracefully when there is an unknown command.
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
if [ -r ./make.info ]; then dir=.; else dir=$(srcdir); fi; \
install-info --infodir=$(infodir) $$dir/make.info; \
else true; fi