diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2021-04-19 21:28:33 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2021-04-19 21:28:33 +0200 |
| commit | 39c536eab6c9a2e82ae7f1e174782560415cd6a0 (patch) | |
| tree | fb2cc364dced64a9547959110a39215f0e6d6fc0 | |
| parent | cc16a5eaa73617a281b0bbf71b24432c38994e30 (diff) | |
make: Add bump-version target
Make "texi" depend on it, which (while not "correct")
ensures that it is run, even when I forget to do so.
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |
