docs/Makefile
2018-02-23 10:11:21 +01:00

16 lines
304 B
Makefile

MKDOCS_AVAILABLE := $(shell command -v mkdocs 2> /dev/null)
build: dependencies
@mkdocs build
start: dependencies
@mkdocs serve
install:
pip install mkdocs mkdocs-material
dependencies:
ifndef MKDOCS_AVAILABLE
$(error "mkdocs is not available. Use 'make install' to install dependencies.")
endif