summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-11-24 13:36:23 +0000
committerIan Lynagh <igloo@earth.li>2011-11-24 13:36:23 +0000
commit27393f454da71e889ae14891d889de6263822430 (patch)
treeacaea6d29a25a66c0df13e6c8e1eae00ccc07de3 /ghc.mk
parent814d864125bdd03d8bc6c3fc551f393b21942c6c (diff)
downloadhaskell-27393f454da71e889ae14891d889de6263822430.tar.gz
Replace a couple of "rm -rf" invocations with $(call removeTrees,...)
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc.mk b/ghc.mk
index e97511c9ba..8121faac20 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)