Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/27393f454da71e889ae14891d889de6263822430

>---------------------------------------------------------------

commit 27393f454da71e889ae14891d889de6263822430
Author: Ian Lynagh <[email protected]>
Date:   Thu Nov 24 13:36:23 2011 +0000

    Replace a couple of "rm -rf" invocations with $(call removeTrees,...)

>---------------------------------------------------------------

 ghc.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ghc.mk b/ghc.mk
index e97511c..8121faa 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -1083,8 +1083,8 @@ sdist-prep :
        cd $(SRC_DIST_DIR) && for i in $(SRC_DIST_DIRS); do mkdir $$i; ( cd $$i 
&& lndir $(TOP)/$$i ); done
        cd $(SRC_DIST_DIR) && for i in $(SRC_DIST_FILES); do $(LN_S) $(TOP)/$$i 
.; done
        cd $(SRC_DIST_DIR) && $(MAKE) distclean
-       rm -rf $(SRC_DIST_DIR)/libraries/tarballs/
-       rm -rf $(SRC_DIST_DIR)/libraries/stamp/
+       $(call removeTrees,$(SRC_DIST_DIR)/libraries/tarballs/)
+       $(call removeTrees,$(SRC_DIST_DIR)/libraries/stamp/)
        $(call sdist_file,compiler,stage2,cmm,,CmmLex,x)
        $(call sdist_file,compiler,stage2,cmm,,CmmParse,y)
        $(call sdist_file,compiler,stage2,parser,,Lexer,x)



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to