2017-11-11 14:40:20 +04:00
|
|
|
# You can set these variables from the command line.
|
|
|
|
SPHINXOPTS = -aE -n
|
|
|
|
SPHINXBUILD = sphinx-build
|
|
|
|
SPHINXPROJ = Tezos
|
|
|
|
SOURCEDIR = .
|
|
|
|
BUILDDIR = _build
|
|
|
|
|
|
|
|
all: html linkcheck
|
|
|
|
|
|
|
|
linkcheck:
|
|
|
|
$(SPHINXBUILD) -b linkcheck "$(SOURCEDIR)" "$(BUILDDIR)"
|
|
|
|
|
|
|
|
introduction/readme.rst: ../README.rst
|
|
|
|
sed 's/TEZOS/How to build and run/' $< > $@
|
|
|
|
|
|
|
|
.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).
|
|
|
|
html: Makefile introduction/readme.rst
|
|
|
|
@$(SPHINXBUILD) -b html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@-rm -Rf "$(BUILDDIR)"
|
2018-01-23 19:12:48 +04:00
|
|
|
@-rm -Rf introduction/readme.rst
|