From 05a80977798abf472bfc11c477751303ad604733 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Wed, 13 Feb 2019 18:11:31 +0100 Subject: [PATCH] doc: run tests/bison, not src/bison * doc/local.mk: Don't run src/bison, as it expects to find all its files installed. Instead, run tests/bison which is ready to run in builddir. --- doc/local.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/local.mk b/doc/local.mk index d12836e9..8959877d 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -88,8 +88,8 @@ EXTRA_DIST += $(top_srcdir)/doc/bison.help if ! CROSS_COMPILING MAINTAINERCLEANFILES += $(top_srcdir)/doc/bison.help $(top_srcdir)/doc/bison.help: src/bison$(EXEEXT) - $(AM_V_GEN)LC_ALL=C src/bison$(EXEEXT) --version >doc/bison.help.tmp - $(AM_V_at) LC_ALL=C src/bison$(EXEEXT) --help | \ + $(AM_V_GEN)LC_ALL=C tests/bison --version >doc/bison.help.tmp + $(AM_V_at) LC_ALL=C tests/bison --help | \ ## Avoid variations in the output depending on whether we are ## on a glibc system. sed '/translation bugs/d' >>doc/bison.help.tmp @@ -118,7 +118,7 @@ endif $(top_srcdir)/doc/bison.1: $(MAN_DEPS) $(AM_V_GEN)$(HELP2MAN) \ --include=$(top_srcdir)/doc/bison.x \ - --output=$@.tmp src/bison$(EXEEXT) + --output=$@.tmp tests/bison $(AM_V_at)if $(remove_time_stamp) $@ >$@a.tmp 2>/dev/null && \ $(remove_time_stamp) $@.tmp | cmp $@a.tmp - >/dev/null 2>&1; then \ touch $@; \