Module Name:    src
Committed By:   matt
Date:           Thu Jul  7 05:41:59 UTC 2011

Modified Files:
        src/tools/llvm: Makefile

Log Message:
Fix cleandir-llvm (only remove config if it exists)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tools/llvm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/llvm/Makefile
diff -u src/tools/llvm/Makefile:1.8 src/tools/llvm/Makefile:1.9
--- src/tools/llvm/Makefile:1.8	Tue Jul  5 19:37:11 2011
+++ src/tools/llvm/Makefile	Thu Jul  7 05:41:59 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2011/07/05 19:37:11 joerg Exp $
+#	$NetBSD: Makefile,v 1.9 2011/07/07 05:41:59 matt Exp $
 
 .include <bsd.init.mk>
 
@@ -39,7 +39,7 @@
 cleandir: cleandir-llvm
 
 cleandir-llvm:
-	rm -r config
+	test ! -d config || rm -r config
 	rm -f need-dl need-dl.tmp
 
 .include <bsd.hostprog.mk>

Reply via email to