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.
This commit is contained in:
Carl Worth 2010-11-05 17:50:12 -07:00
parent fd16b37dc1
commit 1fe7483d8d

View file

@ -5,8 +5,10 @@ dir := test
$(dir)/smtp-dummy: $(dir)/smtp-dummy.c $(dir)/smtp-dummy: $(dir)/smtp-dummy.c
$(call quiet,CC) $^ -o $@ $(call quiet,CC) $^ -o $@
.PHONY: test .PHONY: test check
test: all $(dir)/smtp-dummy test: all $(dir)/smtp-dummy
@${dir}/notmuch-test $(OPTIONS) @${dir}/notmuch-test $(OPTIONS)
check: test
CLEAN := $(CLEAN) $(dir)/smtp-dummy CLEAN := $(CLEAN) $(dir)/smtp-dummy