Mercurial > public > mercurial-scm > hg-stable
changeset 52918:2acf80e007ea
make: add missing `.PHONY` declarations to `doc` makefile targets
I'm pretty sure these were missing- when I created a file with the corresponding
name, it ground through and generated some files, and then said there was
nothing to do. Without the file, it fails after generating the files, saying I
need `make` 4.0 or later.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 16 Feb 2025 23:10:11 -0500 |
parents | f08d56acaef2 |
children | 5a049b728b25 |
files | doc/Makefile |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/Makefile Sun Feb 16 23:03:13 2025 -0500 +++ b/doc/Makefile Sun Feb 16 23:10:11 2025 -0500 @@ -58,16 +58,19 @@ define RuleAllCommandsTemplate HG_COMMANDS=$(1) +.PHONY: all-commands all-commands: $$(HG_COMMANDS:%=$$(BUILDDIR)/hg-%.gendoc.txt) endef define RuleAllTopicsTemplate HG_TOPICS=$(1) +.PHONY: all-topics all-topics: $$(HG_TOPICS:%=$$(BUILDDIR)/%.gendoc.txt) endef define RuleAllExtensionsTemplate HG_EXTENSIONS=$(1) +.PHONY: all-extensions all-extensions: $$(HG_EXTENSIONS:%=$$(BUILDDIR)/%.gendoc.txt) endef