Source

rest_docs / OMakefile

Full commit
# OMakefile for sphinx documentation
#

# You can set these variables for a command line.
SPHINXOPTS    = 
SPHINXBUILD   = sphinx-build
PAPER         = 
SRCDIR        = source
BUILDDIR      = build

# Internal variables.
PAPEROPT_a4   = -D latex_paper_size=a4
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_a4) $(SPHINXOPTS) $(SRCDIR)

SRCS = $(find $(SRCDIR) -name *.rst) $(SRCDIR)/conf.py

.DEFAULT: $(SRCS)
    $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html