Repository navigation
Commit e92faec
committed
fix(scripts): make .PHONY in package.mk an actual declaration
Line 2 used `.PHONY=`, which is a variable assignment. Make defined a
variable that nothing reads, and none of the listed targets was phony.
The special target needs a colon. Line 1 is `.DEFAULT_GOAL=help`, a
real variable where `=` is correct, which is likely why this went
unnoticed.
Corrected the list to what this file actually defines. `suspend`,
`resume`, `check` and `clean` were missing; `check` is the prerequisite
that keeps `show`, `diff`, `apply` and `delete` rebuilding. Dropped
`update` and `image`, which are defined neither here nor in any package
Makefile: naming an undefined target in `.PHONY` creates it empty, so
`make image` would report nothing to be done and exit 0 instead of
failing with "No rule to make target".
Assisted-By: Claude <[email protected]>
Signed-off-by: Aleksei Sviridkin <[email protected]>1 parent 1e778fb commit e92faec
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments