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

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Mon Jun 6 20:31:17 UTC 2011


    Date: Monday, June 6, 2011 @ 20:31:15
  Author: jwilk
Revision: 17315

Simplify the clean target.

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-06-06 19:48:16 UTC (rev 17314)
+++ packages/python-docutils/trunk/debian/changelog	2011-06-06 20:31:15 UTC (rev 17315)
@@ -20,8 +20,9 @@
   * Drop obsolete conflict with zope3.
   * Drop unused virtual packages: python-odtwriter, rst2odt, docutils-writer-odt.
   * Build packages for Python 3 (closes: #577725).
+  * Simplify the clean target.
 
- -- Jakub Wilk <jwilk at debian.org>  Mon, 06 Jun 2011 02:46:13 +0200
+ -- Jakub Wilk <jwilk at debian.org>  Mon, 06 Jun 2011 22:30:45 +0200
 
 python-docutils (0.7-2) unstable; urgency=low
 

Modified: packages/python-docutils/trunk/debian/rules
===================================================================
--- packages/python-docutils/trunk/debian/rules	2011-06-06 19:48:16 UTC (rev 17314)
+++ packages/python-docutils/trunk/debian/rules	2011-06-06 20:31:15 UTC (rev 17315)
@@ -41,12 +41,11 @@
 	rm -f build-stamp
 	$(PYTHON) setup.py clean --all
 	python3 setup.py clean --all
-	-find -name '*.py[co]' | xargs rm -f
+	find -name '*.py[co]' -delete
 	rm -f *.html
 	rm -rf debian/man.tmp
-	find docs -name '*.html' -not -name 'quickref.html' -print0 | \
-		xargs -0 --no-run-if-empty rm
-	-rm -rf docutils.egg-info extras/docutils.egg-info
+	find docs -name '*.html' -not -name 'quickref.html' -delete
+	rm -rf docutils.egg-info extras/docutils.egg-info
 	cd test && rm -rf alltests.out record.txt functional/output/*/ functional/output/[a-z]*.*
 	dh_clean
 




More information about the Python-modules-commits mailing list