Skip to content

Commit

Permalink
Merge pull request #4409 from marysaka/fix-abc-external-doc
Browse files Browse the repository at this point in the history
Only build yosys-abc usage docs when ABCEXTERNAL is not set
  • Loading branch information
mmicko authored May 24, 2024
2 parents c71262f + db3f810 commit 98ab829
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,13 @@ define DOC_USAGE_STDERR
docs/source/generated/$(1): $(PROGRAM_PREFIX)$(1) docs/source/generated
-$(Q) ./$$< --help 2> $$@
endef
DOCS_USAGE_STDERR := yosys-config yosys-filterlib yosys-abc
DOCS_USAGE_STDERR := yosys-config yosys-filterlib

# The in-tree ABC (yosys-abc) is only built when ABCEXTERNAL is not set.
ifeq ($(ABCEXTERNAL),)
DOCS_USAGE_STDERR += yosys-abc
endif

$(foreach usage,$(DOCS_USAGE_STDERR),$(eval $(call DOC_USAGE_STDERR,$(usage))))

# others print to stdout
Expand Down

0 comments on commit 98ab829

Please sign in to comment.