Created
May 13, 2011 00:42
-
-
Save cocoatomo/969750 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OMakefile for Sphinx documentation | |
# | |
# You can set these variables from the command line. | |
SPHINXOPTS = | |
SPHINXBUILD = sphinx-build | |
PAPER = | |
SRCDIR = source | |
BUILDDIR = build | |
# Internal variables. | |
PAPEROPT_a4 = -D latex_paper_size=a4 | |
PAPEROPT_letter = -D latex_paper_size=letter | |
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_a4) $(SPHINXOPTS) $(SRCDIR) | |
SRCS = $(glob $(SRCDIR)/*.rst) | |
.DEFAULT: $(SRCS) | |
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html | |
@echo | |
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment