docs: Install python requirements

This commit is contained in:
Krystine Sherwin 2024-03-19 06:05:03 +13:00
parent f72ddfb09d
commit c6795cefc5
No known key found for this signature in database
2 changed files with 8 additions and 2 deletions

View File

@ -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:

View File

@ -250,3 +250,6 @@ test-macros:
images:
$(MAKE) -C source/_images
.PHONY: reqs
reqs:
$(PYTHON) -m pip install -r source/requirements.txt