From 18004829345f997154e0706fba48631c341d6c84 Mon Sep 17 00:00:00 2001 From: Rob Parker Date: Fri, 29 Jun 2018 11:12:25 +0100 Subject: [PATCH] Ensure SDK is downloaded when versions are different (#149) --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5991025..3e14a1f 100644 --- a/Makefile +++ b/Makefile @@ -124,12 +124,17 @@ clean: rm -rf ./deps downloads/$(MQ_ARCHIVE_DEV): - $(info $(SPACER)$(shell printf $(TITLE)"Downloading IBM MQ Advanced for Developers"$(END))) + $(info $(SPACER)$(shell printf $(TITLE)"Downloading IBM MQ Advanced for Developers "$(MQ_VERSION)$(END))) mkdir -p downloads cd downloads; curl -LO https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/$(MQ_ARCHIVE_DEV) +downloads/$(MQ_SDK_ARCHIVE): + $(info $(SPACER)$(shell printf $(TITLE)"Downloading IBM MQ Advanced for Developers "$(MQ_SDK_VERSION)$(END))) + mkdir -p downloads + cd downloads; curl -LO https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/$(MQ_SDK_ARCHIVE) + .PHONY: downloads -downloads: downloads/$(MQ_ARCHIVE_DEV) +downloads: downloads/$(MQ_ARCHIVE_DEV) downloads/$(MQ_SDK_ARCHIVE) .PHONY: deps deps: