]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
Makefile: Fix "make release" to print the current release announcement.
[notmuch] / Makefile.local
index e112072743960951f3896f7b2944e4a11951cc91..1c3719e73596e42bfd9e495972b5cb24f3a7b3b2 100644 (file)
@@ -105,7 +105,7 @@ release-message:
        @echo ""
        @echo "What's new in notmuch $(VERSION)"
        @echo "========================="
-       @sed -ne '/^[Nn]otmuch 0.1/{n;n;b NEWS}; d; :NEWS /^===/q; {p;n;b NEWS}' < NEWS | head -n -2
+       @sed -ne '/^[Nn]otmuch $(VERSION)/{n;n;b NEWS}; d; :NEWS /^===/q; {p;n;b NEWS}' < NEWS | head -n -2
        @echo ""
        @echo "What is notmuch"
        @echo "==============="