diff options
Diffstat (limited to 'cri-dockerd/Makefile')
-rw-r--r-- | cri-dockerd/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cri-dockerd/Makefile b/cri-dockerd/Makefile index 0e60a2d..3db3a21 100644 --- a/cri-dockerd/Makefile +++ b/cri-dockerd/Makefile @@ -5,14 +5,14 @@ GITHUB_BASEURL := "https://github.com/Mirantis/cri-dockerd/releases/download" all: amd64/cri-dockerd -%/cri-dockerd: cri-dockerd-v$(VERSION)-linux-%.tar.gz +%/cri-dockerd: cri-dockerd-$(VERSION).%.tgz mkdir -p $(shell echo $@ | sed 's#/.*##') - tar -C $(shell echo $@ | sed 's#/.*##') -xzf "$<" + tar -C $(shell echo $@ | sed 's#/.*##') -xzf "$<" --strip-components=1 -cri-dockerd-v$(VERSION)-linux-%.tar.gz: +cri-dockerd-$(VERSION).%.tgz: wget -nc --progress=dot:mega "$(GITHUB_BASEURL)/v$(VERSION)/$(shell echo $@ | sed s/i386/386/)" -O "$@" sha256sum -c --ignore-missing sha256sums.txt clean: rm -rf amd64 - rm -f cri-dockerd-v$(VERSION)-linux-*.tgz + rm -f cri-dockerd-$(VERSION).*.tgz |