[Python-modules-commits] [pycurl] 127/140: Adapt documentation build process for Debian packaging purposes

Barry Warsaw barry at moszumanska.debian.org
Wed Oct 1 21:45:17 UTC 2014


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

barry pushed a commit to branch master
in repository pycurl.

commit fee49d6404d03c2c05dc7267db9e0f4d6bac826f
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Feb 16 16:57:18 2014 +0100

    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 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index c45a310..19d573e 100644
--- a/Makefile
+++ b/Makefile
@@ -63,10 +63,11 @@ windist: distclean
 	rm -rf build
 
 www docs:
-	mkdir -p build
-	rsync -av www build
+	mkdir -p build/www/htdocs/doc
+	#rsync -av www build
 	cd doc && for file in *.rst; do rst2html "$$file" ../build/www/htdocs/doc/`echo "$$file" |sed -e 's/.rst$$/.html/'`; done
 	rst2html RELEASE-NOTES.rst build/www/htdocs/release-notes.html
+	rst2html README.rst build/www/htdocs/README.html
 
 
 .PHONY: all build test do-test strip install install_lib clean distclean maintainer-clean dist sdist windist

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



More information about the Python-modules-commits mailing list