[commit: ghc] master: Replace a couple of "rm -rf" invocations with $(call removeTrees, ...) (27393f4)
Ian Lynagh
igloo at earth.li
Thu Nov 24 15:27:59 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/27393f454da71e889ae14891d889de6263822430
>---------------------------------------------------------------
commit 27393f454da71e889ae14891d889de6263822430
Author: Ian Lynagh <igloo at earth.li>
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)
More information about the Cvs-ghc
mailing list