diff --git a/Makefile b/Makefile index e4071ea..f1a200c 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,10 @@ release: spiff_linux_amd64.zip spiff_darwin_amd64.zip spiff_linux_amd64.zip: GOPATH=$(GOPATH) GOOS=linux GOARCH=amd64 go build -o spiff++/spiff++ . - zip spiff++/spiff_linux_amd64.zip spiff++/spiff++ + (cd spiff++; zip spiff_linux_amd64.zip spiff++) rm spiff++/spiff++ spiff_darwin_amd64.zip: GOPATH=$(GOPATH) GOOS=darwin GOARCH=amd64 go build -o spiff++/spiff++ . - zip spiff++/spiff_darwin_amd64.zip spiff++/spiff++ + (cd spiff++; zip spiff_darwin_amd64.zip spiff++) rm spiff++/spiff++