[Top][All Lists]

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

build: fix distcheck

From: Akim Demaille
Subject: build: fix distcheck
Date: Sat, 16 Feb 2019 15:55:24 +0100

commit 0782ed327401d1b59c059c89c8630d002260b4f7
Author: Akim Demaille <address@hidden>
Date:   Sat Feb 16 14:21:36 2019 +0100

    build: fix distcheck
    Regression introduced in 05a80977798abf472bfc11c477751303ad604733.
    * doc/ ( Don't depend on the path of the bison

diff --git a/doc/ b/doc/
index 8959877d..d56290e4 100644
--- a/doc/
+++ b/doc/
@@ -90,9 +90,11 @@ MAINTAINERCLEANFILES += $(top_srcdir)/doc/
 $(top_srcdir)/doc/ src/bison$(EXEEXT)
        $(AM_V_GEN)LC_ALL=C tests/bison --version >doc/
        $(AM_V_at) LC_ALL=C tests/bison --help | \
+## Avoid depending on the path to Bison.
+         sed -e 's,^Usage: .*/bison \[OPTION\],Usage: bison [OPTION],g' \
 ## Avoid variations in the output depending on whether we are
 ## on a glibc system.
-         sed '/translation bugs/d'  >>doc/
+             -e '/translation bugs/d'  >>doc/
        $(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/ $@

reply via email to

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