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

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Mon Aug 22 15:32:32 UTC 2011


    Date: Monday, August 22, 2011 @ 15:32:31
  Author: jwilk
Revision: 18247

Run the test suite before building documentation.

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

Modified: packages/python-docutils/trunk/debian/changelog
===================================================================
--- packages/python-docutils/trunk/debian/changelog	2011-08-22 15:28:43 UTC (rev 18246)
+++ packages/python-docutils/trunk/debian/changelog	2011-08-22 15:32:31 UTC (rev 18247)
@@ -24,8 +24,9 @@
   * Drop 12_more_usrbinenv.diff; the patched file wasn't being used anyway.
   * Move python(3)-all from Build-Depends to Build-Depends-Indep, as they are
     not needed in the clean target.
+  * Run the test suite before building documentation.
 
- -- Jakub Wilk <jwilk at debian.org>  Mon, 22 Aug 2011 17:25:19 +0200
+ -- Jakub Wilk <jwilk at debian.org>  Mon, 22 Aug 2011 17:28:07 +0200
 
 python-docutils (0.7-4) unstable; urgency=low
 

Modified: packages/python-docutils/trunk/debian/rules
===================================================================
--- packages/python-docutils/trunk/debian/rules	2011-08-22 15:28:43 UTC (rev 18246)
+++ packages/python-docutils/trunk/debian/rules	2011-08-22 15:32:31 UTC (rev 18247)
@@ -43,16 +43,6 @@
 	mkdir py3k
 	cp -rl docutils/ extras/ tools/ test/ setup.py py3k/
 	cd py3k && python3 setup.py build
-	# Build documentation:
-	set -e && for dir in $(BUILDHTML_DIRS); do \
-		PYTHONPATH=.:extras $(PYTHON) tools/buildhtml.py \
-			--local --config=tools/docutils.conf $$dir \
-			--traceback; \
-	done
-	set -e && for dir in $(BUILDHTML_RECURSE_DIRS); do \
-		PYTHONPATH=.:extras $(PYTHON) tools/buildhtml.py \
-			--config=tools/docutils.conf $$dir --traceback; \
-	done
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	# Run test suite for Python 2.X:
 	set -e && cd build/lib*/ && \
@@ -65,6 +55,16 @@
 		$$python test/alltests.py; \
 	done
 endif
+	# Build documentation:
+	set -e && for dir in $(BUILDHTML_DIRS); do \
+		PYTHONPATH=.:extras $(PYTHON) tools/buildhtml.py \
+			--local --config=tools/docutils.conf $$dir \
+			--traceback; \
+	done
+	set -e && for dir in $(BUILDHTML_RECURSE_DIRS); do \
+		PYTHONPATH=.:extras $(PYTHON) tools/buildhtml.py \
+			--config=tools/docutils.conf $$dir --traceback; \
+	done
 	touch build-stamp
 
 clean:




More information about the Python-modules-commits mailing list