aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 5069623fa39866121748b7d58f893daa269b6eb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
EXTRA_DIST = conf.py apiref.rst changes.rst conformance.rst		\
	gettingstarted.rst github_commits.c index.rst portability.rst	\
	tutorial.rst upgrading.rst ext/refcounting.py

SPHINXBUILD = sphinx-build
SPHINXOPTS = -d _build/doctrees $(SPHINXOPTS_EXTRA)

html-local:
	$(SPHINXBUILD) -b html $(SPHINXOPTS) $(srcdir) _build/html

install-html-local: html
	mkdir -p $(DESTDIR)$(htmldir)
	cp -r _build/html $(DESTDIR)$(htmldir)

uninstall-local:
	rm -rf $(DESTDIR)$(htmldir)

clean-local:
	rm -rf _build
	rm -f ext/refcounting.pyc