Add docs build targets to Makefile

This commit is contained in:
Matthew Wild 2020-11-11 16:39:57 +00:00
parent cd78ad3241
commit b68c6fe9b1
1 changed files with 13 additions and 0 deletions

View File

@ -1,6 +1,19 @@
.PHONY: all docker
DOCS=$(docs/**.md)
all: docker
docker:
docker build -t snikket -f docker/Dockerfile .
site: mkdocs.yml $(DOCS)
echo $(DOCS)
mkdocs
docs/_po/snikket-server-docs.pot: po4a.conf $(DOCS)
po4a \
--package-name snikket-server \
--package-version vcs \
--copyright-holder "Snikket Team <team@snikket.org>" \
po4a.conf