File: 01_no_epydoc.patch

package info (click to toggle)
python-cups 1.9.63-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 452 kB
  • ctags: 369
  • sloc: ansic: 7,559; python: 310; makefile: 44
file content (23 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Otavio Salvador <otavio@debian.org>
Date: Fri, 30 Nov 2012 08:09:12 +0100
Subject: 01_no_epydoc

---
 Makefile |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index af7920f..229e86d 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,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 *