Code

rules: Clean python*-dbg as well.
authorSebastian Harl <sh@tokkee.org>
Mon, 1 Jun 2009 13:13:35 +0000 (15:13 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 1 Jun 2009 13:13:35 +0000 (15:13 +0200)
debian/rules

index 8856b128c257b6e760ee414c31c8f610b2c3aedd..10f18a0394ff74a32a01fabd2729b8a15b903955 100755 (executable)
@@ -87,13 +87,13 @@ build-python%: build-arch-stamp
        set -e ;\
         cd bindings/python ;\
         BUILDLIBDIR=../../src/.libs LIBDIR=../../src/.libs python$* setup.py build ;\
-       touch $@
+        touch $@
 
 build-indep: build-arch-stamp
        #indep stuff is built in build-arch-stamp, too.
 
 clean: clean-patched
-clean-patched: unpatch $(PY_VERS:%=clean-python%)
+clean-patched: unpatch $(PY_VERS:%=clean-python%) $(PY_VERS:%=clean-python%-dbg)
        dh_testdir
        dh_testroot
 
@@ -123,8 +123,8 @@ endif
 clean-python%: unpatch
        set -e ;\
         cd bindings/python ;\
-        python$* setup.py clean
-       rm -f build-python$*
+        python$* setup.py clean ;\
+        rm -f build-python$*
 
 
 install: install-arch install-indep