From: Carl Worth Date: Sat, 6 Nov 2010 00:50:12 +0000 (-0700) Subject: Makefile: Support "make check" as alias for "make test" X-Git-Tag: 0.5~67 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=1fe7483d8d03fd981fd09e5770efbea5b9304da9 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. --- 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