summaryrefslogtreecommitdiff
path: root/compatMakefile
diff options
context:
space:
mode:
authorroland <>1995-05-09 21:14:48 +0000
committerroland <>1995-05-09 21:14:48 +0000
commit21b86b45f15ad77c51785399151ba8231a6c2ffa (patch)
treecec67c30a19f54de4c8a7c35b21828559022c250 /compatMakefile
parentbbc154d9e2ff324f499e5a544b0a178afc01da4e (diff)
downloadmake-21b86b45f15ad77c51785399151ba8231a6c2ffa.tar.gz
($(infodir)/make.info): Make sure $$dir is set in install-info cmd.
Diffstat (limited to 'compatMakefile')
-rw-r--r--compatMakefile1
1 files changed, 1 insertions, 0 deletions
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