Do not use .PHONY for $(PROMTOOL) (#1216)

Adding $(PROMTOOL) to .PHONY makes it impossible to provide an alternative path
to promtool.

Signed-off-by: Mateusz Piotrowski <0mp@FreeBSD.org>
pull/1228/head
Mateusz Piotrowski 6 years ago committed by Johannes 'fish' Ziemke
parent 8a6a464b7e
commit a616953b9a

@ -144,7 +144,6 @@ test-docker:
.PHONY: promtool .PHONY: promtool
promtool: $(PROMTOOL) promtool: $(PROMTOOL)
.PHONY: $(PROMTOOL)
$(PROMTOOL): $(PROMTOOL):
$(eval PROMTOOL_TMP := $(shell mktemp -d)) $(eval PROMTOOL_TMP := $(shell mktemp -d))
curl -s -L $(PROMTOOL_URL) | tar -xvzf - -C $(PROMTOOL_TMP) curl -s -L $(PROMTOOL_URL) | tar -xvzf - -C $(PROMTOOL_TMP)

Loading…
Cancel
Save