[PATCH 5/5] Don't ignore errors from the distclean process in debian/rules.

Rogério Brito rbrito at ime.usp.br
Fri Mar 19 01:55:56 PDT 2010


This lets us see if the errors were caused by a missing Makefile or if
they were caused by an error in make itself.

Signed-off-by: Rogério Brito <rbrito at ime.usp.br>
---
 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 60fbc95..e39315c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -60,7 +60,7 @@ clean:
 	rm -f build-stamp 
 
 	# Add here commands to clean up after the build process.
-	-$(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) distclean
 	rm -f config.sub config.guess
 
 	dh_clean 
-- 
1.7.0



More information about the Libva mailing list