From c9c43b0871fa6e8cc5860988079b8ca3dd593a28 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 9 May 1995 21:14:48 +0000 Subject: ($(infodir)/make.info): Make sure $$dir is set in install-info cmd. --- compatMakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/compatMakefile b/compatMakefile index adcd1f9..0be2c0f 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 -- cgit v1.2.3