aboutsummaryrefslogtreecommitdiff
path: root/dev.makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dev.makefile')
-rw-r--r--dev.makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev.makefile b/dev.makefile
index 1a4be6a..545ff27 100644
--- a/dev.makefile
+++ b/dev.makefile
@@ -1,9 +1,11 @@
# This is only for jsoncpp developers/contributors.
# We use this to sign releases, generate documentation, etc.
-VER?=$(shell cat version.txt)
+VER?=$(shell cat version)
default:
@echo "VER=${VER}"
+update-version:
+ perl get_version.pl meson.build >| version
sign: jsoncpp-${VER}.tar.gz
gpg --armor --detach-sign $<
gpg --verify $<.asc