diff options
author | Ian Lynagh <igloo@earth.li> | 2011-11-24 13:36:23 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-11-24 13:36:23 +0000 |
commit | 27393f454da71e889ae14891d889de6263822430 (patch) | |
tree | acaea6d29a25a66c0df13e6c8e1eae00ccc07de3 /ghc.mk | |
parent | 814d864125bdd03d8bc6c3fc551f393b21942c6c (diff) | |
download | haskell-27393f454da71e889ae14891d889de6263822430.tar.gz |
Replace a couple of "rm -rf" invocations with $(call removeTrees,...)
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |