We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d78d2df commit ba9a323Copy full SHA for ba9a323
Makefile
@@ -2,6 +2,7 @@ all: static build
2
3
DUNE = dune
4
DUNE_ARGS = --profile=release
5
+INDEX_ODOC_PATH = docs/odoc.html
6
7
build-deps:
8
opam install . --deps-only --locked
@@ -17,6 +18,7 @@ static:
17
18
.PHONY: doc
19
doc:
20
@${DUNE} build ${DUNE_ARGS} @doc
21
+ ln -sf $(PWD)/_build/default/_doc/_html/index.html ${INDEX_ODOC_PATH}
22
23
.PHONY: install
24
install: static doc
@@ -84,6 +86,7 @@ clean:
84
86
@${MAKE} -C static clean
85
87
-rm -rf www
88
-find . -name "*~" -delete
89
+ -rm -f ${INDEX_ODOC_PATH}
90
91
travis: # From https://stackoverflow.com/questions/21053657/how-to-run-travis-ci-locally
92
BUILDID="build-$$RANDOM"; \
0 commit comments