Makefile: Support "make check" as alias for "make test"
authorCarl Worth <cworth@cworth.org>
Sat, 6 Nov 2010 00:50:12 +0000 (17:50 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 6 Nov 2010 00:51:18 +0000 (17:51 -0700)
I'm told that some people have been trained by autotools to expect
this target name.

test/Makefile.local

index cf7abc74a400e3b931af7eee43b09fc13b63a57c..7b602bcf88fadfb35fdc50377f62c7a90f513d59 100644 (file)
@@ -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