mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
build: don't rely on $< in non-pattern rules.
* doc/local.mk, tests/local.mk: here. Reported by Stefano Lattarini.
This commit is contained in:
@@ -80,9 +80,9 @@ doc/refcard.ps: doc/refcard.dvi
|
|||||||
EXTRA_DIST += $(top_srcdir)/doc/bison.help
|
EXTRA_DIST += $(top_srcdir)/doc/bison.help
|
||||||
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)$< --version >doc/bison.help.t
|
$(AM_V_GEN)src/bison$(EXEEXT) --version >doc/bison.help.tmp
|
||||||
$(AM_V_at)$< --help >>doc/bison.help.t
|
$(AM_V_at) src/bison$(EXEEXT) --help >>doc/bison.help.tmp
|
||||||
$(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/bison.help.t $@
|
$(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/bison.help.tmp $@
|
||||||
|
|
||||||
|
|
||||||
## ----------- ##
|
## ----------- ##
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ $(top_srcdir)/tests/package.m4: $(top_srcdir)/configure
|
|||||||
## Generate the test suite. ##
|
## Generate the test suite. ##
|
||||||
## ------------------------- ##
|
## ------------------------- ##
|
||||||
|
|
||||||
## Leave testsuite.at first for the "testsuite" rule's $<.
|
|
||||||
TESTSUITE_AT = \
|
TESTSUITE_AT = \
|
||||||
tests/testsuite.at \
|
tests/testsuite.at \
|
||||||
\
|
\
|
||||||
@@ -71,7 +70,8 @@ TESTSUITE = $(top_srcdir)/tests/testsuite
|
|||||||
AUTOTEST = $(AUTOM4TE) --language=autotest
|
AUTOTEST = $(AUTOM4TE) --language=autotest
|
||||||
AUTOTESTFLAGS = -I $(top_srcdir)/tests
|
AUTOTESTFLAGS = -I $(top_srcdir)/tests
|
||||||
$(TESTSUITE): $(TESTSUITE_AT)
|
$(TESTSUITE): $(TESTSUITE_AT)
|
||||||
$(AM_V_GEN)$(AUTOTEST) $(AUTOTESTFLAGS) $< -o $@.tmp
|
$(AM_V_GEN) \
|
||||||
|
$(AUTOTEST) $(AUTOTESTFLAGS) $(srcdir)/tests/testsuite.at -o $@.tmp
|
||||||
$(AM_V_at)mv $@.tmp $@
|
$(AM_V_at)mv $@.tmp $@
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user