[root-system] 12/21: make sure config.status exsits before distclean.

Lifeng Sun lifengsun-guest at moszumanska.debian.org
Sat Aug 2 08:35:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

lifengsun-guest pushed a commit to branch master
in repository root-system.

commit a41983706df53c1aa09ba4cafefcddb9574128d6
Author: Lifeng Sun <lifongsun at gmail.com>
Date:   Sun Jul 13 09:58:06 2014 +0800

    make sure config.status exsits before distclean.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 91d50e0..51dc921 100755
--- a/debian/rules
+++ b/debian/rules
@@ -469,7 +469,7 @@ clean:	$(TEMPLATES:debian/skel/%.in=debian/%)
 		-and -not -name "G__security.h"  	\
 		| xargs rm -rf
 	# Add here commands to clean up after the build process.
-	[ ! -f config/Makefile.config ] || $(MAKE) distclean \
+	[ ! -f config/Makefile.config ] || [ ! -f config.status ] || $(MAKE) distclean \
 		UNURANETAG= \
 		UNURKEEP=yes
 	# OK to ignore errors for these - makecintdll.sh might fail

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/root-system.git



More information about the debian-science-commits mailing list