mirror of
https://github.com/mirror/make.git
synced 2025-01-30 14:20:14 +08:00
($(infodir)/make.info): Make sure $$dir is set in install-info cmd.
This commit is contained in:
parent
13e8568f03
commit
c9c43b0871
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user