mirror of
https://github.com/libretro/docs.git
synced 2024-11-27 10:40:28 +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
|