summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-03-29 17:35:20 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-03-29 18:05:29 +0200
commit336cd5a0a3d35b998b67efc975813ccc8482e6ee (patch)
tree524060d2d20d543f5c5657eab0d84156b6b76410 /source4/scripting
parent082e7f20d7df457c08119eb41fc2f3f8c09ba7ab (diff)
downloadsamba-336cd5a0a3d35b998b67efc975813ccc8482e6ee.tar.gz
samba-336cd5a0a3d35b998b67efc975813ccc8482e6ee.tar.bz2
samba-336cd5a0a3d35b998b67efc975813ccc8482e6ee.zip
python: Fix rule for generating docs using pydoctor.
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/config.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index 0b495260bd..d36e136346 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -27,10 +27,11 @@ _PY_FILES = $(shell find $(pyscriptsrcdir)/samba ../lib/subunit/python -type f -
$(eval $(foreach pyfile, $(_PY_FILES),$(call python_py_module_template,$(patsubst $(pyscriptsrcdir)/%,%,$(subst ../lib/subunit/python,,$(pyfile))),$(pyfile))))
-EPYDOC_OPTIONS = --no-private --url http://www.samba.org/ --no-sourcecode
-
-epydoc:: pythonmods
- PYTHONPATH=$(pythonbuilddir):../lib/subunit/python epydoc $(EPYDOC_OPTIONS) samba tdb ldb subunit testtools dnspython
+PYDOCTOR = pydoctor
+PYDOCTOR_OPTIONS = --project-name Samba --project-url http://www.samba.org/ \
+ --make-html
+pydoctor:: pythonmods
+ LD_LIBRARY_PATH=bin/shared PYTHONPATH=$(pythonbuilddir) pydoctor --project-name=Samba --project-url=http://www.samba.org/ --make-html --docformat=restructuredtext $(addprefix --add-package $(pythonbuilddir)/, samba)
install:: installpython