blob: 5c71a12c4d08ca0fdbd18b457566c6123a83ebfa (
plain)
1
2
3
4
5
6
7
8
9
|
PACKAGE="$(shell stack list-dependencies --separator='-' | grep hakyll)"
LOCAL_DOC_ROOT="$(shell stack path --local-doc-root)"
# Generate the docs and copy them to the website dir
haddock:
stack build --haddock --no-haddock-deps
rsync -r "$(LOCAL_DOC_ROOT)/$(PACKAGE)/" web/reference/
.PHONY: haddock
|