aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.local
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-04-15 14:56:21 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-04-15 14:56:21 -0700
commite96f7ca585c527b9543b340f5184a6a2ea656135 (patch)
tree2db5a59b7da6de5276222ad14869472378772b7f /Makefile.local
parentc48dcc302c5509452e5364a8aebdfa03f33a6857 (diff)
Makefile: Add a "make test" target.
I just wasted far too much time looking for a bug that wasn't actually there only because I hadn't recompiled before running the test suite. Now we can take advantage of actual dependency information to force a rebuild for "make test".
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.local b/Makefile.local
index 4a8142f0..fed32c07 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -45,6 +45,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