mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-06 09:00:54 +00:00
docs: Remove build dir from tool help
Pipes the help through sed for the tools that include the path. Also means we can drop the `|| true` from abc, since we're now reading the sed return instead.
This commit is contained in:
parent
7c24b69e62
commit
042dbe593d
1 changed files with 4 additions and 4 deletions
|
|
@ -265,15 +265,15 @@ extract:
|
||||||
|
|
||||||
@mkdir -p source/generated/functional
|
@mkdir -p source/generated/functional
|
||||||
@cp ../backends/functional/smtlib.cc source/generated/functional/
|
@cp ../backends/functional/smtlib.cc source/generated/functional/
|
||||||
-@cd .. && diff -U 20 backends/functional/smtlib.cc backends/functional/smtlib_rosette.cc \
|
@cd .. && diff -U 20 backends/functional/smtlib.cc backends/functional/smtlib_rosette.cc \
|
||||||
> docs/source/generated/functional/rosette.diff || true
|
> docs/source/generated/functional/rosette.diff || true
|
||||||
|
|
||||||
@$(YOSYS) --help >source/generated/yosys
|
$(YOSYS) --help | sed "s%$(BUILD_DIR)/yosys%yosys%g" - >source/generated/yosys
|
||||||
@$(YOSYS_SMTBMC) --help >source/generated/yosys-smtbmc
|
@$(YOSYS_SMTBMC) --help >source/generated/yosys-smtbmc
|
||||||
@$(YOSYS_WITNESS) --help >source/generated/yosys-witness
|
@$(YOSYS_WITNESS) --help >source/generated/yosys-witness
|
||||||
@$(YOSYS_CONFIG) --help >source/generated/yosys-config
|
@$(YOSYS_CONFIG) --help | sed "s%$(BUILD_DIR)/yosys-config%yosys-config%g" - >source/generated/yosys-config
|
||||||
@$(YOSYS_FILTERLIB) --help 2>source/generated/yosys-filterlib || true
|
@$(YOSYS_FILTERLIB) --help 2>source/generated/yosys-filterlib || true
|
||||||
@$(ABC) --help 2>source/generated/yosys-abc > /dev/null || true
|
@$(ABC) --help 2>&1 >/dev/null | sed "s%$(BUILD_DIR)/yosys-abc%yosys-abc%g" - >source/generated/yosys-abc
|
||||||
|
|
||||||
.PHONY: gen
|
.PHONY: gen
|
||||||
gen:
|
gen:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue