[Python-modules-commits] r23082 - in packages/python-gdata/trunk/debian (changelog rules)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Mon Nov 26 16:53:27 UTC 2012


    Date: Monday, November 26, 2012 @ 16:53:24
  Author: mitya57-guest
Revision: 23082

Regenerate docs during build.

Modified:
  packages/python-gdata/trunk/debian/changelog
  packages/python-gdata/trunk/debian/rules

Modified: packages/python-gdata/trunk/debian/changelog
===================================================================
--- packages/python-gdata/trunk/debian/changelog	2012-11-26 16:05:11 UTC (rev 23081)
+++ packages/python-gdata/trunk/debian/changelog	2012-11-26 16:53:24 UTC (rev 23082)
@@ -3,6 +3,7 @@
   * Merge unstable upload 2.0.17+dfsg-1 into experimental.
   * Drop DM-Upload-Allowed header, no longer useful.
   * Remove use of python2.4 shebangs in example scripts.
+  * Regenerate docs during build.
 
  -- Dmitry Shachnev <mitya57 at gmail.com>  Mon, 26 Nov 2012 20:04:40 +0400
 

Modified: packages/python-gdata/trunk/debian/rules
===================================================================
--- packages/python-gdata/trunk/debian/rules	2012-11-26 16:05:11 UTC (rev 23081)
+++ packages/python-gdata/trunk/debian/rules	2012-11-26 16:53:24 UTC (rev 23082)
@@ -8,6 +8,12 @@
 %:
 	dh $@ --with python2
 
+override_dh_auto_build:
+	dh_auto_build
+	mv pydocs pydocs.old
+	mkdir pydocs
+	cd pydocs; sh ../pydocs.old/generate_docs
+
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
 	set -ex; for pyversion in $(shell pyversions -vr); do \
@@ -23,6 +29,8 @@
 
 override_dh_installdocs:
 	dh_installdocs -X.Crypto
+	rm -rf pydocs
+	mv pydocs.old pydocs
 
 override_dh_compress:
 	dh_compress -X.py -X.c




More information about the Python-modules-commits mailing list