diff options
Diffstat (limited to '')
-rw-r--r-- | src/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index ef1c72494..82e46e6ee 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -153,7 +153,8 @@ sparse-check: done TEST_CFLAGS = -DUNIT_TEST -TEST_FILES := $(shell grep UNIT_TEST $(mpd_SOURCES) | \ +TEST_FILES := $(shell grep UNIT_TEST \ + $(addprefix $(srcdir)/, $(mpd_SOURCES)) | \ awk -F: '{print $$1}' | uniq) test: $(addprefix test-, $(subst .c,,$(TEST_FILES))) |