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

bdrung-guest at users.alioth.debian.org bdrung-guest at users.alioth.debian.org
Tue Mar 24 02:06:40 UTC 2009


    Date: Tuesday, March 24, 2009 @ 02:06:39
  Author: bdrung-guest
Revision: 7978

debian/rules: Let all stamp files end with -stamp for automatically cleaning by dh_clean

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

Modified: packages/matplotlib/trunk/debian/changelog
===================================================================
--- packages/matplotlib/trunk/debian/changelog	2009-03-24 01:55:40 UTC (rev 7977)
+++ packages/matplotlib/trunk/debian/changelog	2009-03-24 02:06:39 UTC (rev 7978)
@@ -6,9 +6,10 @@
   * debian/rules
     - 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
   * Switch to debhelper 7
 
- -- Benjamin Drung <benjamin.drung at gmail.com>  Tue, 24 Mar 2009 02:36:51 +0100
+ -- Benjamin Drung <benjamin.drung at gmail.com>  Tue, 24 Mar 2009 03:03:20 +0100
 
 matplotlib (0.98.5.2-1) experimental; urgency=low
 

Modified: packages/matplotlib/trunk/debian/rules
===================================================================
--- packages/matplotlib/trunk/debian/rules	2009-03-24 01:55:40 UTC (rev 7977)
+++ packages/matplotlib/trunk/debian/rules	2009-03-24 02:06:39 UTC (rev 7978)
@@ -20,18 +20,18 @@
 build: patch build-arch build-indep
 
 build-indep: build-indep-stamp
-build-indep-stamp: $(DEFPY:%=build-stamp-%)
+build-indep-stamp: $(DEFPY:%=build-%-stamp)
 	dh_testdir
 
 	# build the doc
 	-( cd doc ; MATPLOTLIBDATA=../lib/matplotlib/mpl-data/ \
 		PYTHONPATH=../build/lib.$(PY_PLATFORM)-$(DEFPY) ./make.py --small all )
 
-	touch build-indep-stamp
+	touch $@
 
-build-arch: $(PYVERS:%=build-stamp-%)
+build-arch: $(PYVERS:%=build-%-stamp)
 
-build-stamp-%:
+build-%-stamp:
 	dh_testdir
 
 	cp -f debian/setup.cfg setup.cfg
@@ -57,7 +57,7 @@
 
 	find . -name '*.pyc' -exec rm {} \;
 
-	dh_clean *-stamp* lib/matplotlib/mpl-data/matplotlib.conf \
+	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 \
@@ -66,11 +66,11 @@
 
 
 # install
-install-arch: build-arch $(PYVERS:%=install-stamp-%)
+install-arch: build-arch $(PYVERS:%=install-%-stamp)
 	dh_testdir
 	dh_testroot
 
-install-stamp-%: build-stamp-%
+install-%-stamp: build-%-stamp
 	dh_testdir
 	dh_testroot
 




More information about the Python-modules-commits mailing list