[Python-modules-commits] r24932 - in packages/python-gdata/trunk/debian (3 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Mon Jun 24 12:06:59 UTC 2013


    Date: Monday, June 24, 2013 @ 12:06:55
  Author: mitya57-guest
Revision: 24932

Just build docs inline

Added:
  packages/python-gdata/trunk/debian/clean
  packages/python-gdata/trunk/debian/python-gdata-doc.docs
    (from rev 24929, packages/python-gdata/tags/2.0.17-1/debian/python-gdata-doc.docs)
Modified:
  packages/python-gdata/trunk/debian/rules

Added: packages/python-gdata/trunk/debian/clean
===================================================================
--- packages/python-gdata/trunk/debian/clean	                        (rev 0)
+++ packages/python-gdata/trunk/debian/clean	2013-06-24 12:06:55 UTC (rev 24932)
@@ -0,0 +1 @@
+pydocs/*.html

Copied: packages/python-gdata/trunk/debian/python-gdata-doc.docs (from rev 24929, packages/python-gdata/tags/2.0.17-1/debian/python-gdata-doc.docs)
===================================================================
--- packages/python-gdata/trunk/debian/python-gdata-doc.docs	                        (rev 0)
+++ packages/python-gdata/trunk/debian/python-gdata-doc.docs	2013-06-24 12:06:55 UTC (rev 24932)
@@ -0,0 +1 @@
+pydocs/

Modified: packages/python-gdata/trunk/debian/rules
===================================================================
--- packages/python-gdata/trunk/debian/rules	2013-06-24 11:40:59 UTC (rev 24931)
+++ packages/python-gdata/trunk/debian/rules	2013-06-24 12:06:55 UTC (rev 24932)
@@ -4,7 +4,6 @@
 DEB_DIRECTORY = $(dir $(firstword $(MAKEFILE_LIST)))
 DEB_VERSION = $(word 2,$(shell cd $(DEB_DIRECTORY)/.. && dpkg-parsechangelog | grep ^Version:))
 UPSTREAM_DFSG_VERSION = $(firstword $(subst -, ,$(DEB_VERSION)))
-DOCS_DIRECTORY = debian/python-gdata-doc/usr/share/doc/python-gdata-doc/pydocs/
 
 # Send HTTP traffic to “discard” service
 export http_proxy = http://127.0.1.1:9/
@@ -15,9 +14,7 @@
 
 override_dh_auto_build:
 	dh_auto_build
-	mkdir -p $(DOCS_DIRECTORY)
-	cp pydocs/generate_docs $(DOCS_DIRECTORY)
-	cd $(DOCS_DIRECTORY); sh ./generate_docs; rm ./generate_docs
+	cd pydocs; sh ./generate_docs
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:




More information about the Python-modules-commits mailing list