Skip to content

Commit 6eb49ee

Browse files
Makefile: Export YOSYS_VER only for make docs
1 parent fe27240 commit 6eb49ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ endif
143143
endif
144144

145145
YOSYS_VER := 0.40+50
146-
export YOSYS_VER
147146

148147
# Note: We arrange for .gitcommit to contain the (short) commit hash in
149148
# tarballs generated with git-archive(1) using .gitattributes. The git repo
@@ -1013,7 +1012,7 @@ docs/reqs:
10131012

10141013
DOC_TARGET ?= html
10151014
docs: docs/source/cmd/abc.rst docs/gen_examples docs/gen_images docs/guidelines docs/usage docs/reqs
1016-
$(Q) $(MAKE) -C docs $(DOC_TARGET)
1015+
$(Q) YOSYS_VER=$(YOSYS_VER) $(MAKE) -C docs $(DOC_TARGET)
10171016

10181017
clean:
10191018
rm -rf share

0 commit comments

Comments
 (0)