]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* doc/make.texi (Prerequisite Types): [SV 61069] Mention PHONY prereqs
authorPaul Smith <psmith@gnu.org>
Mon, 6 Sep 2021 03:28:03 +0000 (23:28 -0400)
committerPaul Smith <psmith@gnu.org>
Mon, 6 Sep 2021 03:29:33 +0000 (23:29 -0400)
doc/make.texi

index 411fb69258f40e1bdd21eaaa8b331265657d5842..3c78f4a56a9545220972e1b09dc6c4fad1808e9e 100644 (file)
@@ -2073,6 +2073,10 @@ declare the same file to be both a normal and an order-only
 prerequisite, the normal prerequisite takes precedence (since they
 have a strict superset of the behavior of an order-only prerequisite).
 
+Order-only prerequisites are never checked when determining if the
+target is out of date; even order-only prerequisites marked as phony
+(@pxref{Phony Targets}) will not cause the target to be rebuilt.
+
 Consider an example where your targets are to be placed in a separate
 directory, and that directory might not exist before @code{make} is
 run.  In this situation, you want the directory to be created before