Skip to content

Commit 1800482

Browse files
authored
Ensure SDK is downloaded when versions are different (#149)
1 parent 65449ff commit 1800482

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,17 @@ clean:
124124
rm -rf ./deps
125125

126126
downloads/$(MQ_ARCHIVE_DEV):
127-
$(info $(SPACER)$(shell printf $(TITLE)"Downloading IBM MQ Advanced for Developers"$(END)))
127+
$(info $(SPACER)$(shell printf $(TITLE)"Downloading IBM MQ Advanced for Developers "$(MQ_VERSION)$(END)))
128128
mkdir -p downloads
129129
cd downloads; curl -LO https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/$(MQ_ARCHIVE_DEV)
130130

131+
downloads/$(MQ_SDK_ARCHIVE):
132+
$(info $(SPACER)$(shell printf $(TITLE)"Downloading IBM MQ Advanced for Developers "$(MQ_SDK_VERSION)$(END)))
133+
mkdir -p downloads
134+
cd downloads; curl -LO https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/$(MQ_SDK_ARCHIVE)
135+
131136
.PHONY: downloads
132-
downloads: downloads/$(MQ_ARCHIVE_DEV)
137+
downloads: downloads/$(MQ_ARCHIVE_DEV) downloads/$(MQ_SDK_ARCHIVE)
133138

134139
.PHONY: deps
135140
deps:

0 commit comments

Comments
 (0)