changeset 32402:32eb0475a2d2

make clean target more robust (i.e. don't fail when config.mak isn't there)
author siretart
date Thu, 14 Oct 2010 08:36:31 +0000
parents 69fb7b91bf76
children 76854194b09e
files debian/rules
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/debian/rules	Wed Oct 13 18:56:44 2010 +0000
+++ b/debian/rules	Thu Oct 14 08:36:31 2010 +0000
@@ -152,7 +152,7 @@
 clean:
 	dh_testdir
 	dh_testroot
-	[ ! -f config.mak ] || $(MAKE) -C DOCS/xml releaseclean && $(MAKE) distclean
+	test ! -f config.mak || ( $(MAKE) -C DOCS/xml releaseclean ; $(MAKE) distclean )
 	dh_clean snapshot_version
 
 # Build architecture-independent packages