summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1d04e13..6338f07 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ lisp:
docs:
@$(MAKE) -C docs docs
-texi:
+texi: bump-version
@$(MAKE) -C docs texi
info:
@@ -46,6 +46,11 @@ publish:
release:
@$(MAKE) -C docs release
+bump-version:
+ @printf "Setting version in transient.el to $(VERSION)\n"
+ @test -n "$(VERSION)" || (echo "Version not specified"; false)
+ @sed -i -e "/Package-Version:/s|[0-9.]\+|$(VERSION)|" lisp/transient.el
+
clean:
@printf "Cleaning...\n"
@$(MAKE) -C lisp clean