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>
This commit is contained in:
Mateusz Piotrowski 2019-01-10 17:44:10 +01:00 committed by Johannes 'fish' Ziemke
parent 8a6a464b7e
commit a616953b9a

View file

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