Skip to content
Snippets Groups Projects
Commit 2acf80e007ea authored by Matt Harbison's avatar Matt Harbison
Browse files

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.
parent f08d56acaef2
No related branches found
No related tags found
2 merge requests!1292Draft: 7.0rc preparation,!1260Distribute makefile `.PHONY` declarations to each target
......@@ -58,8 +58,9 @@
define RuleAllCommandsTemplate
HG_COMMANDS=$(1)
.PHONY: all-commands
all-commands: $$(HG_COMMANDS:%=$$(BUILDDIR)/hg-%.gendoc.txt)
endef
define RuleAllTopicsTemplate
HG_TOPICS=$(1)
......@@ -61,10 +62,11 @@
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)
......@@ -66,8 +68,9 @@
all-topics: $$(HG_TOPICS:%=$$(BUILDDIR)/%.gendoc.txt)
endef
define RuleAllExtensionsTemplate
HG_EXTENSIONS=$(1)
.PHONY: all-extensions
all-extensions: $$(HG_EXTENSIONS:%=$$(BUILDDIR)/%.gendoc.txt)
endef
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment