diff --git a/test/Makefile.am b/test/Makefile.am index 63c2b965fc..5f4a64a791 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -22,9 +22,7 @@ EXTRA_DIST = \ db_def_to_php *.php version.inc.in boinc_db.inc \ test*.inc init.inc boinc_db.inc -# BUILT_SOURCES = boinc_db.inc boinc_db.py +$(TESTS): $(top_srcdir)/py/Boinc/version.py $(top_srcdir)/py/Boinc/boinc_db.py -$(TESTS): ../py/version.py $(top_srcdir)/py/boinc_db.py - -boinc_db.inc: ../db/boinc_db.h ../lib/result_state.h - cat $^ | ./db_def_to_php > $@ +$(srcdir)/boinc_db.inc: $(top_srcdir)/boinc_db.h $(top_srcdir)/lib/result_state.h + cat $^ | $(srcdir)/db_def_to_php > $@