diff options
| author | Frank Fischer <frank-fischer@shadow-soft.de> | 2015-04-20 14:07:05 +0200 |
|---|---|---|
| committer | Frank Fischer <frank-fischer@shadow-soft.de> | 2015-04-20 14:07:05 +0200 |
| commit | 2f875d9dbc7a3020a6fc2c643232c52d4e1a3fd3 (patch) | |
| tree | 57a79f8a1458499167b7a237222acb71dfca9942 | |
| parent | f530f8a11d23621818751318960118ddc121c37d (diff) | |
Makefile: add `nversion` target for not posting to the newsgroup
| -rw-r--r-- | Makefile | 3 | ||||
| -rwxr-xr-x | scripts/evilupdate | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -114,4 +114,7 @@ elpa: version: @$(EMACS) --script scripts/evilupdate "${VERSION}" +# Change the version using make VERSION=x.y.z, but do not post to the newsgroup +nversion: + @$(EMACS) --script scripts/evilupdate -n "${VERSION}" diff --git a/scripts/evilupdate b/scripts/evilupdate index 007f546..abc0bc7 100755 --- a/scripts/evilupdate +++ b/scripts/evilupdate @@ -157,7 +157,7 @@ If NONEWS is non-nil do not post a message to the newsgroup." (cond ((= (length argv) 2) - (unless (= (car argv) "-n") + (unless (equal (car argv) "-n") (user-error "Usage: evilupdate.el [-n] VERSION")) (evilupdate-update (cadr argv) t)) ((= (length argv) 1) |
