diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2021-08-23 20:41:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-24 00:41:04 +0000 |
| commit | be57b2d2cfde988e410f64abb2029c6005894fbe (patch) | |
| tree | e94d158d82bd15f0b0cd5d87a6bfe08cc6ebf13d | |
| parent | 5dd7df187aaef5a0b20cc012a143643e01210752 (diff) | |
Add make target for zip files containing the binary (#1198)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -46,6 +46,12 @@ clean: build-x: $(patsubst %,$(PREFIX)/bin/$(PKG_NAME)_%,$(platforms)) +$(PREFIX)/bin/%.zip: $(PREFIX)/bin/% + @zip -j $@ $^ + +$(PREFIX)/bin/$(PKG_NAME)_windows-%.zip: $(PREFIX)/bin/$(PKG_NAME)_windows-%.exe + @zip -j $@ $^ + compress-all: $(patsubst %,$(PREFIX)/bin/$(PKG_NAME)_%,$(compressed-platforms)) UPX_VERSION := $(shell upx --version | head -n1 | cut -f2 -d\ ) |
