[PATCH 1/4] rm -rf build-python$* in configure-python%

Loïc Minier lool at dooz.org
Sun May 30 14:08:05 UTC 2010


build-python$* would get matched by make as an existing file and would
prevent evaluation of the corresponding build rule.
---
 debian/rules |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/debian/rules b/debian/rules
index d2ed9f3..e012ea0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,7 @@ configure-main:
 configure-python%: configure-main
 	dh_auto_configure --builddirectory=build-python$* -- --with-history --with-python=/usr/bin/python$* CC="gcc -Wl,--as-needed" CFLAGS="$(CFLAGS)" --cache-file="$(CURDIR)/build/config.cache"
 	mv build-python$*/python build/python$*
+	rm -rf build-python$*
 
 override_dh_auto_build: build-main $(PYVERS:%=build-%)
 
-- 
1.7.0.4


--AqsLC8rIMeq19msA
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0002-Don-t-hardcode-site-dist-packages-in-.install.patch"



More information about the debian-xml-sgml-pkgs mailing list