[Python-modules-commits] [python-cups] 02/05: 01_no_epydoc

Ondřej Nový onovy-guest at moszumanska.debian.org
Sun Mar 6 23:06:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

onovy-guest pushed a commit to branch master
in repository python-cups.

commit 63bf96646d62c8b46a40a4349e8273d4849d37bc
Author: Otavio Salvador <otavio at debian.org>
Date:   Fri Nov 30 08:09:12 2012 +0100

    01_no_epydoc
    
    Patch-Name: 01_no_epydoc.patch
---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 85e4940..9ce5424 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,9 @@ cups.so: force
 
 doc:	cups.so
 	rm -rf html
-	epydoc -o html --html $<
+	mkdir -p html
+	pydoc -w $(patsubst %.so,%,$<)
+	mv $(patsubst %.so,%.html,$<) html
 
 doczip:	doc
 	cd html && zip ../cups-html.zip *

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-cups.git



More information about the Python-modules-commits mailing list