From f022ee0517642d9313626b2719bbd5de313308c7 Mon Sep 17 00:00:00 2001 From: Alain Dargelas Date: Wed, 16 Oct 2024 21:02:55 -0700 Subject: [PATCH] Correct Makefile diffs --- Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d58909157..4e7b8a41a 100644 --- a/Makefile +++ b/Makefile @@ -740,7 +740,6 @@ OBJS += passes/cmds/setattr.o OBJS += passes/cmds/splitcells.o OBJS += passes/cmds/splitfanout.o OBJS += passes/cmds/splitnets.o -OBJS += passes/cmds/activity.o OBJS += passes/cmds/tee.o OBJS += passes/sat/sim.o OBJS += passes/sat/activity.o @@ -1025,8 +1024,17 @@ endif # also others, but so long as it doesn't fail this is enough to know we tried docs/source/cmd/abc.rst: $(TARGETS) $(EXTRA_TARGETS) - mkdir -p docs/source/cmd - ./$(PROGRAM_PREFIX)yosys -p 'help -write-rst-command-reference-manual' + $(Q) mkdir -p docs/source/cmd + $(Q) rsync -rc temp/docs/source/cmd docs/source + $(Q) rm -rf temp +docs/source/cell/word_add.rst: $(TARGETS) $(EXTRA_TARGETS) + $(Q) mkdir -p docs/source/cell + $(Q) mkdir -p temp/docs/source/cell + $(Q) cd temp && ./../$(PROGRAM_PREFIX)yosys -p 'help -write-rst-cells-manual' + $(Q) rsync -rc temp/docs/source/cell docs/source + $(Q) rm -rf temp +docs/source/generated/cells.json: docs/source/generated $(TARGETS) $(EXTRA_TARGETS) + $(Q) ./$(PROGRAM_PREFIX)yosys -p 'help -dump-cells-json $@' PHONY: docs/gen_examples docs/gen_images docs/guidelines docs/usage docs/reqs docs/gen_examples: $(TARGETS) @@ -1069,7 +1077,7 @@ docs/reqs: $(Q) $(MAKE) -C docs reqs .PHONY: docs/prep -docs/prep: docs/source/cmd/abc.rst docs/gen_examples docs/gen_images docs/guidelines docs/usage +docs/prep: docs/source/cmd/abc.rst docs/source/generated/cells.json docs/gen_examples docs/gen_images docs/guidelines docs/usage DOC_TARGET ?= html docs: docs/prep