guidelines/Makefile
Igor Gnatenko 8a2c101fb5
adapt to antora
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-09-22 08:50:12 +02:00

12 lines
310 B
Makefile

ANTORA_DIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
doc: .FORCE
podman run --rm -it -v "$(ANTORA_DIR):/antora:z" \
antora/antora --html-url-extension-style=indexify site.yml
serve: .FORCE
python3 -m http.server --directory "$(ANTORA_DIR)public"
.FORCE:
.DEFAULT_GOAL := doc
.PHONY: doc serve