mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
28 lines
658 B
Text
28 lines
658 B
Text
|
# -*- makefile -*-
|
||
|
|
||
|
dir := doc
|
||
|
|
||
|
# You can set these variables from the command line.
|
||
|
SPHINXOPTS := -q -c $(dir)
|
||
|
SPHINXBUILD = sphinx-build
|
||
|
DOCBUILDDIR := $(dir)/_build
|
||
|
|
||
|
# Internal variables.
|
||
|
ALLSPHINXOPTS := -d $(DOCBUILDDIR)/doctrees $(SPHINXOPTS) $(dir)
|
||
|
|
||
|
.PHONY: sphinx-html sphinx-man sphinx-texinfo sphinx-info
|
||
|
|
||
|
sphinx-html:
|
||
|
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(DOCBUILDDIR)/html
|
||
|
|
||
|
sphinx-man:
|
||
|
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(DOCBUILDDIR)/man
|
||
|
|
||
|
sphinx-texinfo:
|
||
|
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(DOCBUILDDIR)/texinfo
|
||
|
|
||
|
sphinx-info: sphinx-texinfo
|
||
|
make -C $(DOCBUILDDIR)/texinfo info
|
||
|
|
||
|
CLEAN := $(CLEAN) $(DOCBUILDDIR)
|