diff --git a/Makefile b/Makefile index b847fb05e6..69ad7e23dd 100644 --- a/Makefile +++ b/Makefile @@ -121,6 +121,9 @@ build/coder-slim_$(VERSION).tar: build/coder-slim_$(VERSION)_checksums.sha1 $(CO tar cf "../../../build/$(@F)" coder-* popd + # delete the uncompressed binaries from the embedded dir + rm -f site/out/bin/coder-* + site/out/bin/coder.tar.zst: build/coder-slim_$(VERSION).tar.zst cp "$<" "$@" @@ -132,9 +135,6 @@ build/coder-slim_$(VERSION).tar.zst: build/coder-slim_$(VERSION).tar -o "build/coder-slim_$(VERSION).tar.zst" \ "build/coder-slim_$(VERSION).tar" - # delete the uncompressed binaries from the embedded dir - rm site/out/bin/coder-* - # Redirect from version-less targets to the versioned ones. There is a similar # target for slim binaries below. #