Makefile: Move docs prereqs to separate target

This commit is contained in:
Krystine Sherwin 2024-08-29 09:58:41 +12:00
parent a97d99cbac
commit cab781d958
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -1009,8 +1009,11 @@ docs/usage: $(addprefix docs/source/generated/,$(DOCS_USAGE_STDOUT) $(DOCS_USAGE
docs/reqs:
$(Q) $(MAKE) -C docs reqs
.PHONY: docs/prep
docs/prep: docs/source/cmd/abc.rst docs/gen_examples docs/gen_images docs/guidelines docs/usage
DOC_TARGET ?= html
docs: docs/source/cmd/abc.rst docs/gen_examples docs/gen_images docs/guidelines docs/usage
docs: docs/prep
$(Q) $(MAKE) -C docs $(DOC_TARGET)
clean: