fix(Makefile): Use go's dependency checker for 'per platform' builds (#15223)
Co-authored-by: Morian Sonnet <morian.sonnet@isea.rwth-aachen.de>
This commit is contained in:
parent
96d6da63f2
commit
e3d23229c3
1
Makefile
1
Makefile
|
|
@ -273,6 +273,7 @@ install: $(buildbin)
|
||||||
# Telegraf build per platform. This improves package performance by sharing
|
# Telegraf build per platform. This improves package performance by sharing
|
||||||
# the bin between deb/rpm/tar packages over building directly into the package
|
# the bin between deb/rpm/tar packages over building directly into the package
|
||||||
# directory.
|
# directory.
|
||||||
|
.PHONY: $(buildbin)
|
||||||
$(buildbin):
|
$(buildbin):
|
||||||
echo $(GOOS)
|
echo $(GOOS)
|
||||||
@mkdir -pv $(dir $@)
|
@mkdir -pv $(dir $@)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue