From: Sergey Matveev Date: Thu, 30 Apr 2015 16:33:13 +0000 (+0300) Subject: Store version number in single file only X-Git-Tag: 2.4^2 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=62210597d65016da76507e65b805f05a7dbccd80;p=govpn.git Store version number in single file only Signed-off-by: Sergey Matveev --- diff --git a/makefile b/makefile index 08d9228..3dec45c 100644 --- 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