summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-04-01 14:27:23 +0200
committerAkim Demaille <akim@lrde.epita.fr>2012-04-01 15:09:09 +0200
commitda83f838210859531b0b2cbf16fd4efbd811fe12 (patch)
tree390762eae71191cb97d78505be623c7a5cc57c6f /tests
parentd243e0241f79eed2b231fa9066a47f9daaafa82d (diff)
downloadbison-da83f838210859531b0b2cbf16fd4efbd811fe12.tar.gz
build: don't rely on $< in non-pattern rules.
* doc/local.mk, tests/local.mk: here. Reported by Stefano Lattarini.
Diffstat (limited to 'tests')
-rw-r--r--tests/local.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/local.mk b/tests/local.mk
index 2cb1f3c1..4f2ee52d 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -40,7 +40,6 @@ $(top_srcdir)/tests/package.m4: $(top_srcdir)/configure
## Generate the test suite. ##
## ------------------------- ##
-## Leave testsuite.at first for the "testsuite" rule's $<.
TESTSUITE_AT = \
tests/testsuite.at \
\
@@ -71,7 +70,8 @@ TESTSUITE = $(top_srcdir)/tests/testsuite
AUTOTEST = $(AUTOM4TE) --language=autotest
AUTOTESTFLAGS = -I $(top_srcdir)/tests
$(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 $@