docs/Makefile

16 lines
304 B
Makefile
Raw Normal View History

2018-02-23 09:11:21 +00:00
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