aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/Makefile.local
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-11-05 17:50:12 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-11-05 17:51:18 -0700
commit1fe7483d8d03fd981fd09e5770efbea5b9304da9 (patch)
treedae3b304f58c6d06e24112d7e39eadce710c3de5 /test/Makefile.local
parentfd16b37dc1b59dac765d459459ce00907506d559 (diff)
Makefile: Support "make check" as alias for "make test"
I'm told that some people have been trained by autotools to expect this target name.
Diffstat (limited to 'test/Makefile.local')
-rw-r--r--test/Makefile.local4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Makefile.local b/test/Makefile.local
index cf7abc74..7b602bcf 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -5,8 +5,10 @@ dir := test
$(dir)/smtp-dummy: $(dir)/smtp-dummy.c
$(call quiet,CC) $^ -o $@
-.PHONY: test
+.PHONY: test check
test: all $(dir)/smtp-dummy
@${dir}/notmuch-test $(OPTIONS)
+check: test
+
CLEAN := $(CLEAN) $(dir)/smtp-dummy