Skip to content

Commit 0dafaa8

Browse files
committed
make: Add a phony version target to output version string.
1 parent 0aa52b7 commit 0dafaa8

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
@@ -894,8 +894,11 @@ installcheck: all-programs
894894
fi
895895
@rm -rf testinstall || true
896896

897+
version:
898+
@echo ${VERSION}
899+
897900
.PHONY: installdirs install-program install-data install uninstall \
898-
installcheck ncc bin-tarball show-flags
901+
installcheck ncc bin-tarball show-flags version
899902

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

0 commit comments

Comments
 (0)