]> Cypherpunks.ru repositories - gogost.git/blobdiff - common.mk
Prepare for release
[gogost.git] / common.mk
index e528f9a5f2c290b606693b7b60db951312b26e81..c4bb97d0b9dffa509a2cc721e5df66cb2814f776 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -1,12 +1,13 @@
-LDFLAGS = -X cypherpunks.ru/gogost.Version=$(VERSION)
+MOD = go.cypherpunks.ru/gogost/v4
+LDFLAGS = -X $(MOD).Version=$(VERSION)
 
 all: streebog256 streebog512
 
 streebog256:
-       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/gogost/cmd/streebog256
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog256
 
 streebog512:
-       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" cypherpunks.ru/gogost/cmd/streebog512
+       GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)" $(MOD)/cmd/streebog512
 
 bench:
-       GOPATH=$(GOPATH) go test -benchmem -bench . cypherpunks.ru/gogost/...
+       GOPATH=$(GOPATH) go test -benchmem -bench . $(MOD)/...