mirror of
https://github.com/libretro/docs.git
synced 2024-11-23 16:59:40 +00:00
16 lines
304 B
Makefile
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
|