source: trunk/docs/Makefile @ 4658

Last change on this file since 4658 was 4213, checked in by toby, 4 years ago

multiple small changes to allow docs build under 3.x

  • Property svn:executable set to *
File size: 638 bytes
RevLine 
[4213]1# Minimal makefile for Sphinx documentation
[2027]2#
3
[4213]4# You can set these variables from the command line, and also
5# from the environment for the first two.
6SPHINXOPTS    ?=
7SPHINXBUILD   ?= sphinx-build
8SOURCEDIR     = source
[2027]9BUILDDIR      = build
10
[4213]11# Put it first so that "make" without argument is like "make help".
[2027]12help:
[4213]13        @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
[2027]14
[4213]15.PHONY: help Makefile
[2027]16
[4213]17# Catch-all target: route all unknown targets to Sphinx using the new
18# "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
19%: Makefile
20        @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Note: See TracBrowser for help on using the repository browser.