Skip to content

Commit faeaa1b

Browse files
committed
make: Add a phony version target to output version string.
1 parent 81e30ea commit faeaa1b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,8 +899,11 @@ installcheck: all-programs
899899
fi
900900
@rm -rf testinstall || true
901901

902+
version:
903+
@echo ${VERSION}
904+
902905
.PHONY: installdirs install-program install-data install uninstall \
903-
installcheck ncc bin-tarball show-flags
906+
installcheck ncc bin-tarball show-flags version
904907

905908
# Make a tarball of opt/clightning/, optionally with label for distribution.
906909
ifneq ($(VERSION),)

0 commit comments

Comments
 (0)