Makefile: Export YOSYS_VER only for make docs

This commit is contained in:
Krystine Sherwin 2024-05-07 10:23:22 +12:00
parent fe27240b3a
commit 6eb49ee9e8
No known key found for this signature in database
1 changed files with 1 additions and 2 deletions

View File

@ -143,7 +143,6 @@ endif
endif endif
YOSYS_VER := 0.40+50 YOSYS_VER := 0.40+50
export YOSYS_VER
# Note: We arrange for .gitcommit to contain the (short) commit hash in # Note: We arrange for .gitcommit to contain the (short) commit hash in
# tarballs generated with git-archive(1) using .gitattributes. The git repo # tarballs generated with git-archive(1) using .gitattributes. The git repo
@ -1013,7 +1012,7 @@ docs/reqs:
DOC_TARGET ?= html DOC_TARGET ?= html
docs: docs/source/cmd/abc.rst docs/gen_examples docs/gen_images docs/guidelines docs/usage docs/reqs docs: docs/source/cmd/abc.rst docs/gen_examples docs/gen_images docs/guidelines docs/usage docs/reqs
$(Q) $(MAKE) -C docs $(DOC_TARGET) $(Q) YOSYS_VER=$(YOSYS_VER) $(MAKE) -C docs $(DOC_TARGET)
clean: clean:
rm -rf share rm -rf share