[Python-modules-commits] r17747 - in packages/sphinx/trunk/debian (changelog clean rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Thu Jul 7 19:14:17 UTC 2011


    Date: Thursday, July 7, 2011 @ 19:14:16
  Author: jwilk
Revision: 17747

Use debian/clean rather than listing files to clean directly in debian/rules.

Added:
  packages/sphinx/trunk/debian/clean
Modified:
  packages/sphinx/trunk/debian/changelog
  packages/sphinx/trunk/debian/rules

Modified: packages/sphinx/trunk/debian/changelog
===================================================================
--- packages/sphinx/trunk/debian/changelog	2011-07-07 18:13:46 UTC (rev 17746)
+++ packages/sphinx/trunk/debian/changelog	2011-07-07 19:14:16 UTC (rev 17747)
@@ -20,8 +20,10 @@
     + Update debian/rules, debian/control and debian/*.links to use
       dh_sphinxdoc.
   * Fix test_build_latex to not fail in a directory with special characters.
+  * Use debian/clean rather than listing files to clean directly in
+    debian/rules.
 
- -- Jakub Wilk <jwilk at debian.org>  Thu, 07 Jul 2011 20:12:59 +0200
+ -- Jakub Wilk <jwilk at debian.org>  Thu, 07 Jul 2011 21:13:50 +0200
 
 sphinx (1.0.7-5) unstable; urgency=low
 

Added: packages/sphinx/trunk/debian/clean
===================================================================
--- packages/sphinx/trunk/debian/clean	                        (rev 0)
+++ packages/sphinx/trunk/debian/clean	2011-07-07 19:14:16 UTC (rev 17747)
@@ -0,0 +1,5 @@
+*.pyc
+*.pyo
+sphinx/pycode/*.pickle
+sphinx/themes/basic/static/jquery.js underscore.js
+sphinx/themes/basic/static/undersocre.js

Modified: packages/sphinx/trunk/debian/rules
===================================================================
--- packages/sphinx/trunk/debian/rules	2011-07-07 18:13:46 UTC (rev 17746)
+++ packages/sphinx/trunk/debian/rules	2011-07-07 19:14:16 UTC (rev 17747)
@@ -36,8 +36,7 @@
 	python setup.py clean
 	find . -name '*.py[co]' -delete
 	rm -rf build *.egg-info
-	cd sphinx/themes/basic/static && rm -f jquery.js underscore.js
-	dh_clean sphinx/pycode/*.pickle
+	dh_clean 
 
 install: build
 	dh_testdir




More information about the Python-modules-commits mailing list