bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] doc: run tests/bison, not src/bison


From: Akim Demaille
Subject: [PATCH 1/3] doc: run tests/bison, not src/bison
Date: Thu, 14 Feb 2019 21:06:54 +0100

* 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 \
-           address@hidden src/bison$(EXEEXT)
+           address@hidden tests/bison
        $(AM_V_at)if $(remove_time_stamp) $@ >address@hidden 2>/dev/null &&     
        \
           $(remove_time_stamp) address@hidden | cmp address@hidden - 
>/dev/null 2>&1; then     \
          touch $@;                                                             
\
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]