configure.ac: Don't try to rm dirs.

Nicolas Le Cam niko.lecam at gmail.com
Sun Jun 27 10:58:37 CDT 2010


Hi,

This patch allows to do a make clean in a wine tree configured with
with-wine64 option and fix following errors :
rm: cannot remove `fonts': Is a directory
rm: cannot remove `server': Is a directory

-- 
Nicolas Le Cam
-------------- next part --------------
From d185f1b0c468d1f71da7442d8de94c424042dcbc Mon Sep 17 00:00:00 2001
From: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Mon, 17 May 2010 20:58:35 +0200
Subject: configure.ac: Don't try to rm dirs.

---
 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 61f376e..306407b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2786,7 +2786,8 @@ fonts server:
 $with_wine64/loader/wine:
 	\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine \$[@]
 clean::
-	\$(RM) fonts server $with_wine64/loader/wine])
+	\$(RM) $with_wine64/loader/wine])
+	-rmdir fonts server
 fi
 
 WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
-- 
1.7.0.4


More information about the wine-patches mailing list