Files
cowrie/docs/Makefile
Michel Oosterhof bdff9601ca Move to Restructured text (#979)
From Markdown to RestructuredText
2019-01-09 12:05:16 +04:00

24 lines
701 B
Makefile

# Minimal makefile for Sphinx documentation
#
# Expand PYTHONPATH so we can import Cowrie version
#export PYTHONPATH := $(PYTHONPATH):../src
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = PYTHONPATH="../src" sphinx-build
SOURCEDIR = .
BUILDDIR = _build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.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)