]> git.notmuchmail.org Git - notmuch/commitdiff
Makefile: Fix "make release" to print the current release announcement.
authorCarl Worth <cworth@cworth.org>
Fri, 16 Apr 2010 15:31:46 +0000 (08:31 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 16 Apr 2010 15:31:46 +0000 (08:31 -0700)
This was accidentally hard-coded to always print the 0.1 NEWS blurb.

Makefile.local

index e112072743960951f3896f7b2944e4a11951cc91..1c3719e73596e42bfd9e495972b5cb24f3a7b3b2 100644 (file)
@@ -105,7 +105,7 @@ release-message:
        @echo ""
        @echo "What's new in notmuch $(VERSION)"
        @echo "========================="
        @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 "==============="
        @echo ""
        @echo "What is notmuch"
        @echo "==============="