Makefile: Use dump-cells-json for docs

This commit is contained in:
Krystine Sherwin 2024-05-21 14:04:38 +12:00
parent a119d41303
commit 9533cf2916
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -993,6 +993,9 @@ docs/source/cell/word_add.rst: $(TARGETS) $(EXTRA_TARGETS)
$(Q) rsync -rc temp/docs/source/cell docs/source
$(Q) rm -rf temp
docs/source/generated/cells.json: docs/source/generated $(TARGETS) $(EXTRA_TARGETS)
$(Q) ./$(PROGRAM_PREFIX)yosys -p 'help -dump-cells-json $@'
PHONY: docs/gen_examples docs/gen_images docs/guidelines docs/usage docs/reqs
docs/gen_examples: $(TARGETS)
$(Q) $(MAKE) -C docs examples
@ -1034,7 +1037,7 @@ docs/reqs:
$(Q) $(MAKE) -C docs reqs
.PHONY: docs/prep
docs/prep: docs/source/cmd/abc.rst docs/source/cell/word_add.rst docs/gen_examples docs/gen_images docs/guidelines docs/usage
docs/prep: docs/source/cmd/abc.rst docs/source/generated/cells.json docs/gen_examples docs/gen_images docs/guidelines docs/usage
DOC_TARGET ?= html
docs: docs/prep