From: Roland McGrath Date: Tue, 9 May 1995 21:14:48 +0000 (+0000) Subject: ($(infodir)/make.info): Make sure $$dir is set in install-info cmd. X-Git-Tag: 3.73.3~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9c43b0871fa6e8cc5860988079b8ca3dd593a28;p=thirdparty%2Fmake.git ($(infodir)/make.info): Make sure $$dir is set in install-info cmd. --- diff --git a/compatMakefile b/compatMakefile index adcd1f9f..0be2c0f3 100644 --- a/compatMakefile +++ b/compatMakefile @@ -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