# HG changeset patch # User Matt Harbison # Date 1739765411 18000 # Node ID 2acf80e007ea664311987c4ef805307de84c3eb2 # Parent f08d56acaef21420c7d4f00a977879c0a4d25536 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. diff -r f08d56acaef2 -r 2acf80e007ea doc/Makefile --- 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