mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
make: Add a phony version
target to output version string.
This commit is contained in:
parent
80d666b951
commit
e004f0075e
1 changed files with 4 additions and 1 deletions
5
Makefile
5
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),)
|
||||
|
|
Loading…
Add table
Reference in a new issue