From e004f0075e5dcee5fa7e7037de165e11c72758b7 Mon Sep 17 00:00:00 2001 From: Se7enZ Date: Fri, 4 Oct 2024 13:05:25 +0200 Subject: [PATCH] make: Add a phony `version` target to output version string. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d0436ebc8..12534da5e 100644 --- a/Makefile +++ b/Makefile @@ -903,8 +903,11 @@ installcheck: all-programs fi @rm -rf testinstall || true +version: + @echo ${VERSION} + .PHONY: installdirs install-program install-data install uninstall \ - installcheck ncc bin-tarball show-flags + installcheck ncc bin-tarball show-flags version # Make a tarball of opt/clightning/, optionally with label for distribution. ifneq ($(VERSION),)