]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
Makefile.local: Fix typo in comment.
[notmuch] / Makefile.local
index 4a8142f03e6c9810a5d23d046ef5cbac90c74406..e828181663d2fc19a3280fe96331e49ac676b696 100644 (file)
@@ -7,8 +7,7 @@
 # digit when we reach particularly major milestones of usability.
 #
 # Between releases, (such as when compiling notmuch from the git
-# repository), we let git to append identification of the actual
-# commit.
+# repository), we let git append identification of the actual commit.
 PACKAGE=notmuch
 VERSION:=$(shell if [ -f version ]; then cat version; else git describe --match '[0-9].[0-9]*'; fi)
 
@@ -45,6 +44,10 @@ ifeq ($(shell cat .first-build-message),)
 endif
 endif
 
+.PHONY: test
+test: all
+       @./test/notmuch-test
+
 $(TAR_FILE):
        git archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ HEAD > $(TAR_FILE).tmp
        echo $(VERSION) > version
@@ -66,7 +69,9 @@ dist: $(TAR_FILE)
 # We invoke make recursively only to force ordering of our phony
 # targets in the case of parallel invocation of make (-j).
 .PHONY: release
-release: release-verify-newer
+release:
+       $(MAKE) test
+       $(MAKE) release-verify-newer
        $(MAKE) release-upload
        @echo "Please send a release announcement as follows:"
        @echo ""