porymap/docsrc/Makefile

27 lines
740 B
Makefile
Raw Normal View History

2019-04-19 01:36:24 +01:00
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
2019-04-24 15:00:17 +01:00
SPHINXBUILD = python -msphinx
2019-04-19 01:36:24 +01:00
SOURCEDIR = .
BUILDDIR = _build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
github:
2019-04-24 15:00:17 +01:00
@cp ../CHANGELOG.md reference/
2019-04-19 01:36:24 +01:00
@make html
2019-04-21 17:20:49 +01:00
rm -rf ../docs
2019-04-19 01:36:24 +01:00
@cp -a $(BUILDDIR)/html/. ../docs
2019-04-21 17:20:49 +01:00
touch ../docs/.nojekyll
2019-04-24 15:00:17 +01:00
@rm reference/CHANGELOG.md
2019-04-19 01:36:24 +01:00
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)