diff --git a/Makefile b/Makefile index a7c3e01..f208dad 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ PREFIX ?= /usr/local DIST := COPYING Makefile mtmediasrv.service mtmediasrv.yaml nginx-server.conf readme.md PROJECT := mtmediasrv -VERSION = 1 +VERSION = 2 BUILD = `git describe --tags --always` $(PROJECT): main.go @@ -24,8 +24,6 @@ dist: rm -rf $(PROJECT)-$(BUILD) mkdir $(PROJECT)-$(BUILD) cp $(DIST) $(PROJECT)-$(BUILD)/ - GOOS=linux GOARCH=386 go build -ldflags "-X main.Version=$(VERSION) -X main.Build=$(BUILD)" -o $(PROJECT) -o $(PROJECT)-$(BUILD)/$(PROJECT) - zip -r $(PROJECT)-$(BUILD)-ia32.zip $(PROJECT)-$(BUILD)/ rm -f $(PROJECT)-$(BUILD)/$(PROJECT) GOOS=linux GOARCH=amd64 go build -ldflags "-X main.Version=$(VERSION) -X main.Build=$(BUILD)" -o $(PROJECT) -o $(PROJECT)-$(BUILD)/$(PROJECT) zip -r $(PROJECT)-$(BUILD)-x86_64.zip $(PROJECT)-$(BUILD)/