## Makefile for Bison testsuite.
-## Copyright (C) 2000-2010 Free Software Foundation, Inc.
+## Copyright (C) 2000-2011 Free Software Foundation, Inc.
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
AUTOTEST = $(AUTOM4TE) --language=autotest
AUTOTESTFLAGS = -I $(top_srcdir)/tests
-$(TESTSUITE): tests/package.m4 $(TESTSUITE_AT)
+$(TESTSUITE): $(top_srcdir)/tests/package.m4 $(TESTSUITE_AT)
$(AUTOTEST) $(AUTOTESTFLAGS) $(top_srcdir)/tests/testsuite.at -o $@.tmp
mv $@.tmp $@