Skip to content

Conversation

@NormB
Copy link
Owner

@NormB NormB commented Dec 7, 2025

Summary

  • Added version and status to the .PHONY declaration in the Makefile
  • Fixes make version and make status commands which were reporting "up to date" instead of executing

Problem

When running make version, the output was:

make: `version' is up to date.

This happened because version and status were not declared as phony targets. Make treated them as file targets and since no files named version or status exist, it considered them "up to date".

Test plan

  • Verify make version outputs version information
  • Verify make status outputs synchronization status

The `make version` and `make status` commands were not working because
they were not declared as .PHONY targets. Make was treating them as file
targets and reporting "up to date" without executing the commands.
@NormB NormB merged commit 3202865 into main Dec 7, 2025
29 checks passed
@NormB NormB deleted the fix/makefile-phony-targets branch December 7, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants