]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
Increment version to 0.1.1
[notmuch] / Makefile.local
index d38c6733e08a0ea914e1814592a2d7d9ac9f2d3b..b35cbdd8fe7513c72488c16ffad0d242e7a374d7 100644 (file)
@@ -10,7 +10,7 @@
 # repository), we add a third digit, (0.1.1, 0.1.2, etc.), and
 # increment it occasionally, (such as after a big batch of commits are
 # merged.
-NOTMUCH_VERSION=0.1
+NOTMUCH_VERSION=0.1.1
 
 # Get settings from the output of configure by running it to generate
 # Makefile.config if it doesn't exist yet. And add Makefile.config to
@@ -53,6 +53,11 @@ ifeq ($(shell cat .first-build-message),)
 endif
 endif
 
+.PHONY: dist
+dist:
+       git archive --format=tar --prefix=notmuch-$(NOTMUCH_VERSION)/ HEAD | gzip > notmuch-$(NOTMUCH_VERSION).tar.gz
+       @echo "Source is ready for release in notmuch-$(NOTMUCH_VERSION).tar.gz"
+
 # The user has not set any verbosity, default to quiet mode and inform the
 # user how to enable verbose compiles.
 ifeq ($(V),)