]> Cypherpunks.ru repositories - govpn.git/commitdiff
Store version number in single file only
authorSergey Matveev <stargrave@stargrave.org>
Thu, 30 Apr 2015 16:33:13 +0000 (19:33 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 30 Apr 2015 16:34:31 +0000 (19:34 +0300)
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
makefile

index 08d9228658afb29c2e5011fb122b1ae46efe0bbd..3dec45c65c5f51e90273fb55cddc21e4e6084325 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,7 +1,6 @@
 .PHONY: govpn-client govpn-server
 
-VERSION=2.4
-LDFLAGS=-X govpn.Version $(VERSION)
+LDFLAGS=-X govpn.Version $(shell cat VERSION)
 
 all: govpn-client govpn-server