[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wording in GNU Make manual regarding phony targets
From: |
R. Bernstein |
Subject: |
Wording in GNU Make manual regarding phony targets |
Date: |
Mon, 19 Dec 2005 10:59:20 -0500 |
Recently Bruno Haible point this out from the GNU Make manual:
A phony target should not be a prerequisite of a real target file;
if it is, its commands are run every time make goes to update
that file. As long as a phony target is never a prerequisite of a
real target, the phony target commands will be executed only when the
phony target is a specified goal.
He also observed that in "force" targets this is usually the
situation. Another situation where this doesn't hold would be in those
cases where one tracing, profiling, or debugging code working by
instrumenting/augmenting the Makefile. Given this, I think the wording
above should be changed to something more akin to a heuristic or
guideline.
- Wording in GNU Make manual regarding phony targets,
R. Bernstein <=
- Re: Wording in GNU Make manual regarding phony targets, Paul D. Smith, 2005/12/19
- Re: Wording in GNU Make manual regarding phony targets, R. Bernstein, 2005/12/20
- Re: Wording in GNU Make manual regarding phony targets, Bruno Haible, 2005/12/20
- Re: Wording in GNU Make manual regarding phony targets, Dave Hylands, 2005/12/20
- Re: Wording in GNU Make manual regarding phony targets, Johan Bezem, 2005/12/20
- Re: Wording in GNU Make manual regarding phony targets, Dave Hylands, 2005/12/20
- Re: Wording in GNU Make manual regarding phony targets, Johan Bezem, 2005/12/21
- Re: Wording in GNU Make manual regarding phony targets, Dave Hylands, 2005/12/21
- Re: Wording in GNU Make manual regarding phony targets, Johan Bezem, 2005/12/22