[Python-modules-commits] r6872 - in packages/matplotlib/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Mon Nov 10 15:29:11 UTC 2008


    Date: Monday, November 10, 2008 @ 15:29:10
  Author: morph
Revision: 6872

* debian/rules
  - merging all "rm" calls into "dh_clean" call

Modified:
  packages/matplotlib/trunk/debian/changelog
  packages/matplotlib/trunk/debian/rules

Modified: packages/matplotlib/trunk/debian/changelog
===================================================================
--- packages/matplotlib/trunk/debian/changelog	2008-11-10 12:15:54 UTC (rev 6871)
+++ packages/matplotlib/trunk/debian/changelog	2008-11-10 15:29:10 UTC (rev 6872)
@@ -21,6 +21,8 @@
     - added to notify users about default backend (TkAgg)
   * debian/README.debian
     - added information about changing backend
+  * debian/rules
+    - merging all "rm" calls into "dh_clean" call
 
  -- Benjamin Drung <benjamin.drung at gmail.com>  Sat, 08 Nov 2008 00:33:36 +0100
 

Modified: packages/matplotlib/trunk/debian/rules
===================================================================
--- packages/matplotlib/trunk/debian/rules	2008-11-10 12:15:54 UTC (rev 6871)
+++ packages/matplotlib/trunk/debian/rules	2008-11-10 15:29:10 UTC (rev 6872)
@@ -52,20 +52,16 @@
 	    python$(i)-dbg ./setup.py clean --all; \
 	done
 
-	-rm -f *-stamp*
-	-rm -rf build *.pyc *.pyo
-
-	rm -f lib/matplotlib/mpl-data/matplotlib.conf lib/matplotlib/mpl-data/matplotlibrc doc/mpl_data/matplotlib.conf doc/mpl_data/matplotlibrc
-	rm -f setup.cfg
-
 	# clean the doc
 	( cd doc ; ./make.py clean )
-	rm -f doc/_static/inheritance*
-	rm -f doc/_static/math-*.png
-	rm -f doc/test.png
+
 	find . -name '*.pyc' -exec rm {} \;
 
-	dh_clean
+	dh_clean *-stamp* lib/matplotlib/mpl-data/matplotlib.conf          \
+	         lib/matplotlib/mpl-data/matplotlibrc                      \
+		 doc/mpl_data/matplotlib.conf doc/mpl_data/matplotlibrc    \
+		 setup.cfg doc/_static/inheritance* doc/_static/math-*.png \
+		 doc/test.png build
 
 # install
 install-arch: build-arch $(PYVERS:%=install-stamp-%)




More information about the Python-modules-commits mailing list