diff options
author | Joe Hillenbrand <joehillen@gmail.com> | 2014-12-23 09:15:20 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-12-23 09:15:21 -0600 |
commit | 9fc3aebd0920561d9d3c747e6b78591d332bed08 (patch) | |
tree | 0dc059699030d12e77a4d3ac7fdaba6739c25d52 /ghc.mk | |
parent | 30fdf86eec34711be07c6771b02a6fc81ac99ee2 (diff) | |
download | haskell-9fc3aebd0920561d9d3c747e6b78591d332bed08.tar.gz |
always use 'mkdir -p' and fix missing dir (fixes #9876)
Summary: Signed-off-by: Joe Hillenbrand <joehillen@gmail.com>
Reviewers: thomie, austin
Reviewed By: thomie, austin
Subscribers: carter, thomie
Differential Revision: https://phabricator.haskell.org/D566
GHC Trac Issues: #9876
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1150,10 +1150,10 @@ EXTRA_PACKAGES=parallel stm random primitive vector dph sdist-ghc-prep : $(call removeTrees,$(SRC_DIST_GHC_ROOT)) $(call removeFiles,$(SRC_DIST_GHC_TARBALL)) - -mkdir $(SRC_DIST_ROOT) - mkdir $(SRC_DIST_GHC_ROOT) - mkdir $(SRC_DIST_GHC_DIR) - cd $(SRC_DIST_GHC_DIR) && for i in $(SRC_DIST_GHC_DIRS); do mkdir $$i; ( cd $$i && lndir $(TOP)/$$i ); done + mkdir -p $(SRC_DIST_ROOT) + mkdir -p $(SRC_DIST_GHC_ROOT) + mkdir -p $(SRC_DIST_GHC_DIR) + cd $(SRC_DIST_GHC_DIR) && for i in $(SRC_DIST_GHC_DIRS); do mkdir -p $$i; ( cd $$i && lndir $(TOP)/$$i ); done cd $(SRC_DIST_GHC_DIR) && for i in $(SRC_DIST_GHC_FILES); do $(LN_S) $(TOP)/$$i .; done cd $(SRC_DIST_GHC_DIR) && $(MAKE) distclean $(call removeTrees,$(SRC_DIST_GHC_DIR)/libraries/tarballs/) @@ -1174,10 +1174,10 @@ sdist-ghc-prep : sdist-windows-tarballs-prep : $(call removeTrees,$(SRC_DIST_WINDOWS_TARBALLS_ROOT)) $(call removeFiles,$(SRC_DIST_WINDOWS_TARBALLS_TARBALL)) - -mkdir $(SRC_DIST_ROOT) - mkdir $(SRC_DIST_WINDOWS_TARBALLS_ROOT) - mkdir $(SRC_DIST_WINDOWS_TARBALLS_DIR) - mkdir $(SRC_DIST_WINDOWS_TARBALLS_DIR)/ghc-tarballs + mkdir -p $(SRC_DIST_ROOT) + mkdir -p $(SRC_DIST_WINDOWS_TARBALLS_ROOT) + mkdir -p $(SRC_DIST_WINDOWS_TARBALLS_DIR) + mkdir -p $(SRC_DIST_WINDOWS_TARBALLS_DIR)/ghc-tarballs cd $(SRC_DIST_WINDOWS_TARBALLS_DIR)/ghc-tarballs && lndir $(TOP)/ghc-tarballs $(call removeTrees,$(SRC_DIST_WINDOWS_TARBALLS_DIR)/ghc-tarballs/.git) @@ -1185,10 +1185,10 @@ sdist-windows-tarballs-prep : sdist-testsuite-prep : $(call removeTrees,$(SRC_DIST_TESTSUITE_ROOT)) $(call removeFiles,$(SRC_DIST_TESTSUITE_TARBALL)) - -mkdir $(SRC_DIST_ROOT) - mkdir $(SRC_DIST_TESTSUITE_ROOT) - mkdir $(SRC_DIST_TESTSUITE_DIR) - mkdir $(SRC_DIST_TESTSUITE_DIR)/testsuite + mkdir -p $(SRC_DIST_ROOT) + mkdir -p $(SRC_DIST_TESTSUITE_ROOT) + mkdir -p $(SRC_DIST_TESTSUITE_DIR) + mkdir -p $(SRC_DIST_TESTSUITE_DIR)/testsuite cd $(SRC_DIST_TESTSUITE_DIR)/testsuite && lndir $(TOP)/testsuite .PHONY: sdist-ghc |