Version is now pulled from Cargo.toml

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2025-09-10 23:18:24 -04:00
parent 13c8026c10
commit b271bb146e

View File

@ -1,4 +1,4 @@
VERSION=1.25.3
VERSION=$(shell cargo metadata --format-version 1 | jq -r '.packages[] | select(.name | test("bcachefs-tools")) | .version')
PREFIX?=/usr/local
LIBEXECDIR?=$(PREFIX)/libexec