2010-04-03 18:49:38 +08:00
|
|
|
EXTRA_DIST = conf.py apiref.rst changes.rst conformance.rst \
|
|
|
|
gettingstarted.rst github_commits.c index.rst tutorial.rst \
|
|
|
|
ext/refcounting.py
|
2009-08-03 02:26:37 +08:00
|
|
|
|
2009-11-04 05:07:43 +08:00
|
|
|
SPHINXBUILD = sphinx-build
|
2010-09-07 01:46:14 +08:00
|
|
|
SPHINXOPTS = -d _build/doctrees $(SPHINXOPTS_EXTRA)
|
2009-11-04 05:07:43 +08:00
|
|
|
|
2010-01-22 02:53:05 +08:00
|
|
|
html-local:
|
2009-11-04 05:07:43 +08:00
|
|
|
$(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)
|
|
|
|
|
2009-08-03 02:26:37 +08:00
|
|
|
clean-local:
|
2009-11-04 05:07:43 +08:00
|
|
|
rm -rf _build
|
2010-01-27 03:19:48 +08:00
|
|
|
rm -f ext/refcounting.pyc
|