mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
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.
This commit is contained in:
@@ -88,8 +88,8 @@ EXTRA_DIST += $(top_srcdir)/doc/bison.help
|
|||||||
if ! CROSS_COMPILING
|
if ! CROSS_COMPILING
|
||||||
MAINTAINERCLEANFILES += $(top_srcdir)/doc/bison.help
|
MAINTAINERCLEANFILES += $(top_srcdir)/doc/bison.help
|
||||||
$(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)
|
$(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)
|
||||||
$(AM_V_GEN)LC_ALL=C src/bison$(EXEEXT) --version >doc/bison.help.tmp
|
$(AM_V_GEN)LC_ALL=C tests/bison --version >doc/bison.help.tmp
|
||||||
$(AM_V_at) LC_ALL=C src/bison$(EXEEXT) --help | \
|
$(AM_V_at) LC_ALL=C tests/bison --help | \
|
||||||
## Avoid variations in the output depending on whether we are
|
## Avoid variations in the output depending on whether we are
|
||||||
## on a glibc system.
|
## on a glibc system.
|
||||||
sed '/translation bugs/d' >>doc/bison.help.tmp
|
sed '/translation bugs/d' >>doc/bison.help.tmp
|
||||||
@@ -118,7 +118,7 @@ endif
|
|||||||
$(top_srcdir)/doc/bison.1: $(MAN_DEPS)
|
$(top_srcdir)/doc/bison.1: $(MAN_DEPS)
|
||||||
$(AM_V_GEN)$(HELP2MAN) \
|
$(AM_V_GEN)$(HELP2MAN) \
|
||||||
--include=$(top_srcdir)/doc/bison.x \
|
--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 && \
|
$(AM_V_at)if $(remove_time_stamp) $@ >$@a.tmp 2>/dev/null && \
|
||||||
$(remove_time_stamp) $@.tmp | cmp $@a.tmp - >/dev/null 2>&1; then \
|
$(remove_time_stamp) $@.tmp | cmp $@a.tmp - >/dev/null 2>&1; then \
|
||||||
touch $@; \
|
touch $@; \
|
||||||
|
|||||||
Reference in New Issue
Block a user