File: 20_build_doc_for_debian.patch

package info (click to toggle)
pycurl 7.45.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,724 kB
  • sloc: python: 8,661; ansic: 6,891; makefile: 202; sh: 183
file content (26 lines) | stat: -rw-r--r-- 900 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From bd7908f6018f67aa3a8d974ce0e6ebca900ec2c1 Mon Sep 17 00:00:00 2001
From: Sandro Tosi <morph@debian.org>
Date: Tue, 30 Sep 2014 17:38:05 -0400
Subject: Adapt documentation build process for Debian packaging purposes

Origin: vendor
Forwarded: not-needed
Last-Update: 2014-02-15
Patch-Name: 20_build_doc_for_debian.patch
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index bcb13e8..dfe62cf 100644
--- a/Makefile
+++ b/Makefile
@@ -149,7 +149,7 @@ docs: build
 	for file in doc/docstrings/*.rst; do tail -n +3 $$file >build/docstrings/`basename $$file`; done
 	PYTHONPATH=$$(ls -d build/lib.*$$PYTHONMAJOR*$$PYTHONMINOR):$$PYTHONPATH \
 	$(PYTHON) -m sphinx doc build/doc
-	cp ChangeLog build/doc
+	rst2html README.rst build/doc/README.html
 
 # Rebuild all documentation.
 # As sphinx extracts documentation from pycurl modules, docs targets