diff options
author | Gregory Szorc <gregory.szorc@gmail.com> | 2023-05-15 08:48:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 08:48:34 (GMT) |
commit | a6bcc8fb92ffb75bb1907cc568ba9fff516979c3 (patch) | |
tree | 5c6a26ff650d8560c48d17329d835bb07c9236b3 /Tools | |
parent | b15a1a6ac6ea0d7792036e639e90f0e51400c2ee (diff) | |
download | cpython-a6bcc8fb92ffb75bb1907cc568ba9fff516979c3.zip cpython-a6bcc8fb92ffb75bb1907cc568ba9fff516979c3.tar.gz cpython-a6bcc8fb92ffb75bb1907cc568ba9fff516979c3.tar.bz2 |
gh-104490: Consistently define phony make targets (#104491)
By convention make targets that don't refer to a file have a dependency
on the fake .PHONY target/file. This ensures that these targets are
always evaluated because there is no rule to create a .PHONY file
and that will force make to think the rule is out of date and needs
to be rebuilt.
This commit consistently associates virtual targets with .PHONY by
declaring the .PHONY dependency immediately above the make rule. This
should avoid race conditions and avoidable rebuilds across multiple make
invocations.
Diffstat (limited to 'Tools')
0 files changed, 0 insertions, 0 deletions