mirror of https://github.com/YosysHQ/yosys.git
Makefile: Use dump-cells-json for docs
This commit is contained in:
parent
a119d41303
commit
9533cf2916
5
Makefile
5
Makefile
|
@ -993,6 +993,9 @@ docs/source/cell/word_add.rst: $(TARGETS) $(EXTRA_TARGETS)
|
||||||
$(Q) rsync -rc temp/docs/source/cell docs/source
|
$(Q) rsync -rc temp/docs/source/cell docs/source
|
||||||
$(Q) rm -rf temp
|
$(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
|
PHONY: docs/gen_examples docs/gen_images docs/guidelines docs/usage docs/reqs
|
||||||
docs/gen_examples: $(TARGETS)
|
docs/gen_examples: $(TARGETS)
|
||||||
$(Q) $(MAKE) -C docs examples
|
$(Q) $(MAKE) -C docs examples
|
||||||
|
@ -1034,7 +1037,7 @@ docs/reqs:
|
||||||
$(Q) $(MAKE) -C docs reqs
|
$(Q) $(MAKE) -C docs reqs
|
||||||
|
|
||||||
.PHONY: docs/prep
|
.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
|
DOC_TARGET ?= html
|
||||||
docs: docs/prep
|
docs: docs/prep
|
||||||
|
|
Loading…
Reference in New Issue