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:
Morian Sonnet 2024-04-25 18:28:54 +02:00 committed by GitHub
parent 96d6da63f2
commit e3d23229c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ install: $(buildbin)
# Telegraf build per platform. This improves package performance by sharing
# the bin between deb/rpm/tar packages over building directly into the package
# directory.
.PHONY: $(buildbin)
$(buildbin):
echo $(GOOS)
@mkdir -pv $(dir $@)