mirror of https://github.com/YosysHQ/yosys.git
docs: Install python requirements
This commit is contained in:
parent
f72ddfb09d
commit
c6795cefc5
7
Makefile
7
Makefile
|
@ -971,7 +971,7 @@ docs/source/cmd/abc.rst: $(TARGETS) $(EXTRA_TARGETS)
|
|||
mkdir -p docs/source/cmd
|
||||
./$(PROGRAM_PREFIX)yosys -p 'help -write-rst-command-reference-manual'
|
||||
|
||||
PHONY: docs/gen_examples docs/gen_images docs/guidelines docs/usage
|
||||
PHONY: docs/gen_examples docs/gen_images docs/guidelines docs/usage docs/reqs
|
||||
docs/gen_examples:
|
||||
$(Q) $(MAKE) -C docs examples
|
||||
|
||||
|
@ -990,8 +990,11 @@ docs/usage: $(addprefix docs/source/temp/,$(DOCS_USAGE_PROGS))
|
|||
docs/source/temp/%: docs/guidelines
|
||||
-$(Q) ./$(PROGRAM_PREFIX)$* --help > $@ 2>&1
|
||||
|
||||
docs/reqs:
|
||||
$(Q) $(MAKE) -C docs reqs
|
||||
|
||||
DOC_TARGET ?= html
|
||||
docs: docs/source/cmd/abc.rst docs/gen_examples docs/gen_images docs/guidelines docs/usage
|
||||
docs: docs/source/cmd/abc.rst docs/gen_examples docs/gen_images docs/guidelines docs/usage docs/reqs
|
||||
$(Q) $(MAKE) -C docs $(DOC_TARGET)
|
||||
|
||||
clean:
|
||||
|
|
|
@ -250,3 +250,6 @@ test-macros:
|
|||
images:
|
||||
$(MAKE) -C source/_images
|
||||
|
||||
.PHONY: reqs
|
||||
reqs:
|
||||
$(PYTHON) -m pip install -r source/requirements.txt
|
||||
|
|
Loading…
Reference in New Issue