aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Fischer <frank-fischer@shadow-soft.de>2015-04-20 14:07:05 +0200
committerFrank Fischer <frank-fischer@shadow-soft.de>2015-04-20 14:07:05 +0200
commit2f875d9dbc7a3020a6fc2c643232c52d4e1a3fd3 (patch)
tree57a79f8a1458499167b7a237222acb71dfca9942
parentf530f8a11d23621818751318960118ddc121c37d (diff)
Makefile: add `nversion` target for not posting to the newsgroup
-rw-r--r--Makefile3
-rwxr-xr-xscripts/evilupdate2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9a74fa2..3cd67f0 100644
--- a/Makefile
+++ b/Makefile
@@ -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)