]> Cypherpunks.ru repositories - govpn.git/blobdiff - makefile
Store version number in single file only
[govpn.git] / 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