mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 20:38:08 +01:00
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:
parent
fd16b37dc1
commit
1fe7483d8d
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue