From: Austin Clements Date: Tue, 25 Feb 2014 19:18:59 +0000 (-0500) Subject: test: Simplify CLEAN list construction X-Git-Tag: 0.18_rc0~128 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=c0cc47506fff1d486e0ffff60a58302943a3794e test: Simplify CLEAN list construction Construct as much of the CLEAN list from TEST_BINARIES as possible, rather than duplicating this information by hand. --- diff --git a/test/Makefile.local b/test/Makefile.local index 8870ca37..99324ba1 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -50,11 +50,6 @@ test: all test-binaries check: test SRCS := $(SRCS) $(smtp_dummy_srcs) -CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \ - $(dir)/symbol-test $(dir)/symbol-test.o \ - $(dir)/arg-test $(dir)/arg-test.o \ - $(dir)/hex-xcode $(dir)/hex-xcode.o \ +CLEAN += $(TEST_BINARIES) $(addsuffix .o,$(TEST_BINARIES)) \ $(dir)/database-test.o \ - $(dir)/random-corpus $(dir)/random-corpus.o \ - $(dir)/parse-time $(dir)/parse-time.o \ $(dir)/corpus.mail $(dir)/test-results $(dir)/tmp.*