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

bdrung-guest at users.alioth.debian.org bdrung-guest at users.alioth.debian.org
Thu May 28 19:11:42 UTC 2009


    Date: Thursday, May 28, 2009 @ 19:11:42
  Author: bdrung-guest
Revision: 8596

Remove generated doc files in clean target; upstreams doc clean target only runs svn-clean, which is useless without a repository

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

Modified: packages/matplotlib/trunk/debian/changelog
===================================================================
--- packages/matplotlib/trunk/debian/changelog	2009-05-28 18:09:38 UTC (rev 8595)
+++ packages/matplotlib/trunk/debian/changelog	2009-05-28 19:11:42 UTC (rev 8596)
@@ -10,6 +10,8 @@
     - In clean target use rm -rf instead dh_clean for removing build directory;
       thanks Andrew Straw for the patch
     - Let all stamp files end with -stamp for automatically cleaning by dh_clean
+    - Remove generated doc files in clean target; upstreams doc clean target
+      only runs svn-clean, which is useless without a repository
   * Switch to debhelper 7
   * Install egg-info files and add python-setuptools to build depends; thanks to
     Gediminas Paulauskas
@@ -37,7 +39,7 @@
   * debian/{control, rules, python-matplotlib.preinst}
     - switch to python-support (adding preinst for the migration)
 
- -- Benjamin Drung <bdrung at ubuntu.com>  Thu, 28 May 2009 19:47:27 +0200
+ -- Benjamin Drung <bdrung at ubuntu.com>  Thu, 28 May 2009 20:12:56 +0200
 
 matplotlib (0.98.5.2-1) experimental; urgency=low
 

Modified: packages/matplotlib/trunk/debian/rules
===================================================================
--- packages/matplotlib/trunk/debian/rules	2009-05-28 18:09:38 UTC (rev 8595)
+++ packages/matplotlib/trunk/debian/rules	2009-05-28 19:11:42 UTC (rev 8596)
@@ -55,14 +55,19 @@
 	# clean the doc
 	( cd doc ; ./make.py clean )
 
+	# workaround for cleaning the doc ("doc/make.py clean" only runs useless svn-clean)
+	rm -rf doc/build doc/examples
+	rm -f doc/mpl_examples/api/*.png doc/mpl_examples/pylab_examples/*.png
+	rm -f doc/pyplots/tex_demo.png
+	rm -f doc/_static/matplotlibrc
+	rm -f doc/_templates/gallery.html
+
 	find . -name '*.pyc' -exec rm {} \;
 
 	dh_clean 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
+		lib/matplotlib/mpl-data/matplotlibrc setup.cfg
 	rm -rf build
+	rm -rf lib/matplotlib.egg-info
 
 
 # install




More information about the Python-modules-commits mailing list