Skip to content

Commit 155e637

Browse files
mrmr1993emberian
authored andcommitted
Add ml-docs target to Makefile (#1403)
1 parent fa41110 commit 155e637

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,15 @@ docs/res/%.tex.png: docs/res/%.tex.pdf
273273

274274
doc_diagrams: $(addsuffix .png,$(wildcard docs/res/*.tex) $(wildcard docs/res/*.dot))
275275

276+
########################################
277+
# Generate odoc documentation
278+
279+
ml-docs:
280+
cd src; $(WRAPSRC) dune build --profile=$(DUNE_PROFILE) @doc
281+
276282
########################################
277283
# To avoid unintended conflicts with file names, always add to .PHONY
278284
# unless there is a reason not to.
279285
# https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
280286
# HACK: cat Makefile | egrep '^\w.*' | sed 's/:/ /' | awk '{print $1}' | grep -v myprocs | sort | xargs
281-
.PHONY: all base-docker base-googlecloud base-minikube build check-format ci-base-docker clean codaslim containerstart deb dev codabuilder kademlia coda-docker coda-googlecloud coda-minikube ocaml407-googlecloud pull-ocaml407-googlecloud reformat test test-all test-coda-block-production-sig test-coda-block-production-stake test-codapeers-sig test-codapeers-stake test-full-sig test-full-stake test-runtest test-transaction-snark-profiler-sig test-transaction-snark-profiler-stake update-deps render-circleci check-render-circleci docker-toolchain-rust toolchains doc_diagrams
287+
.PHONY: all base-docker base-googlecloud base-minikube build check-format ci-base-docker clean codaslim containerstart deb dev codabuilder kademlia coda-docker coda-googlecloud coda-minikube ocaml407-googlecloud pull-ocaml407-googlecloud reformat test test-all test-coda-block-production-sig test-coda-block-production-stake test-codapeers-sig test-codapeers-stake test-full-sig test-full-stake test-runtest test-transaction-snark-profiler-sig test-transaction-snark-profiler-stake update-deps render-circleci check-render-circleci docker-toolchain-rust toolchains doc_diagrams ml-docs

0 commit comments

Comments
 (0)