[Python-modules-commits] r16988 - in packages/pyke/trunk/debian (changelog control rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Sun May 8 21:47:26 UTC 2011


    Date: Sunday, May 8, 2011 @ 21:47:16
  Author: eriol-guest
Revision: 16988

Building documentation from source

Modified:
  packages/pyke/trunk/debian/changelog
  packages/pyke/trunk/debian/control
  packages/pyke/trunk/debian/rules

Modified: packages/pyke/trunk/debian/changelog
===================================================================
--- packages/pyke/trunk/debian/changelog	2011-05-08 20:42:23 UTC (rev 16987)
+++ packages/pyke/trunk/debian/changelog	2011-05-08 21:47:16 UTC (rev 16988)
@@ -16,10 +16,11 @@
   * debian/rules
     - Added override_dh_installchangelogs to install the upstream changelog:
       RELEASE_NOTES-1.txt
+    - Added override_dh_installdocs to build documentation from source
   * debian/copyright
     - Made DEP5 compliant
 
- -- Daniele Tricoli <eriol at mornie.org>  Thu, 05 May 2011 15:40:56 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Sun, 08 May 2011 23:42:54 +0200
 
 pyke (1.1.1-1) unstable; urgency=low
 

Modified: packages/pyke/trunk/debian/control
===================================================================
--- packages/pyke/trunk/debian/control	2011-05-08 20:42:23 UTC (rev 16987)
+++ packages/pyke/trunk/debian/control	2011-05-08 21:47:16 UTC (rev 16988)
@@ -3,7 +3,8 @@
 Uploaders: Daniele Tricoli <eriol at mornie.org>
 Section: python
 Priority: optional
-Build-Depends: debhelper (>= 7.0.50~), python-setuptools, python-support
+Build-Depends: debhelper (>= 7.0.50~), python-setuptools, python-support,
+ rest2web, ed
 Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyke/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyke/trunk/

Modified: packages/pyke/trunk/debian/rules
===================================================================
--- packages/pyke/trunk/debian/rules	2011-05-08 20:42:23 UTC (rev 16987)
+++ packages/pyke/trunk/debian/rules	2011-05-08 21:47:16 UTC (rev 16988)
@@ -8,3 +8,14 @@
 
 override_dh_installchangelogs:
 	dh_installchangelogs RELEASE_NOTES-1.txt upstream
+
+override_dh_installdocs:
+	# Remove builded documentation shipped in upstream package
+	rm -rf doc/html/
+	# Add target links using upstream script
+	cd doc/source; bin/add_links
+	# Build documentation from source
+	cd doc/; /usr/bin/r2w
+	# Restore documentation source
+	cd doc/source; bin/strip_links
+	dh_installdocs




More information about the Python-modules-commits mailing list