From 81440ccdd7c7d10ab7feb01bd005d6e0c739e122 Mon Sep 17 00:00:00 2001 From: Gregory Haskins Date: Mon, 14 Nov 2016 15:23:36 -0500 Subject: [PATCH] [BUILD] Cleanup chaintool build Change-Id: I1d09cc3add7687641e37097a4f63ad3b2119a995 Signed-off-by: Greg Haskins --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f1ce66c5ce5..2229bc17eca 100644 --- a/Makefile +++ b/Makefile @@ -124,16 +124,12 @@ linter: testenv @echo "LINT: Running code checks.." @$(DRUN) hyperledger/fabric-testenv:$(DOCKER_TAG) ./scripts/golinter.sh -build/bin/chaintool: Makefile +%/chaintool: Makefile @echo "Installing chaintool" @mkdir -p $(@D) curl -L https://github.com/hyperledger/fabric-chaintool/releases/download/$(CHAINTOOL_RELEASE)/chaintool > $@ chmod +x $@ -%/bin/chaintool: build/bin/chaintool - @mkdir -p $(@D) - @cp $^ $@ - # We (re)build a package within a docker context but persist the $GOPATH/pkg # directory so that subsequent builds are faster build/docker/bin/%: $(PROJECT_FILES)