From 336cd5a0a3d35b998b67efc975813ccc8482e6ee Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 29 Mar 2010 17:35:20 +0200 Subject: python: Fix rule for generating docs using pydoctor. --- source4/scripting/python/config.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source4/scripting') 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 -- cgit