Merge "Add .PHONY for dist-for-goals targets"

This commit is contained in:
Colin Cross 2021-11-12 07:13:17 +00:00 committed by Gerrit Code Review
commit 8432238aa0

View file

@ -422,6 +422,7 @@ func (s *makeVarsSingleton) writeLate(phonies []phony, dists []dist) []byte {
fmt.Fprintln(buf)
for _, dist := range dists {
fmt.Fprintf(buf, ".PHONY: %s\n", strings.Join(dist.goals, " "))
fmt.Fprintf(buf, "$(call dist-for-goals,%s,%s)\n",
strings.Join(dist.goals, " "), strings.Join(dist.paths, " "))
}