summaryrefslogtreecommitdiff
path: root/hadrian/src/Rules/SourceDist.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Rules/SourceDist.hs')
-rw-r--r--hadrian/src/Rules/SourceDist.hs40
1 files changed, 20 insertions, 20 deletions
diff --git a/hadrian/src/Rules/SourceDist.hs b/hadrian/src/Rules/SourceDist.hs
index 0c12021010..8da98ef821 100644
--- a/hadrian/src/Rules/SourceDist.hs
+++ b/hadrian/src/Rules/SourceDist.hs
@@ -61,20 +61,20 @@ prepareTree dest = do
cpFile a = copyFile a (dest -/- a)
cpDir a = copyDirectoryContents (Not excluded) a (dest -/- a)
excluded = Or
- [ Test "//.*"
- , Test "//#*"
- , Test "//*-SAVE"
- , Test "//*.orig"
- , Test "//*.rej"
- , Test "//*~"
- , Test "//autom4te*"
- , Test "//dist"
- , Test "//dist-install"
- , Test "//log"
- , Test "//stage0"
- , Test "//stage1"
- , Test "//stage2"
- , Test "//stage3"
+ [ Test "**/.*"
+ , Test "**/#*"
+ , Test "**/*-SAVE"
+ , Test "**/*.orig"
+ , Test "**/*.rej"
+ , Test "**/*~"
+ , Test "**/autom4te*"
+ , Test "**/dist"
+ , Test "**/dist-install"
+ , Test "**/log"
+ , Test "**/stage0"
+ , Test "**/stage1"
+ , Test "**/stage2"
+ , Test "**/stage3"
, Test "hadrian/.cabal-sandbox"
, Test "hadrian/.stack-work"
, Test "hadrian/UserSettings.hs"
@@ -83,12 +83,12 @@ prepareTree dest = do
, Test "hadrian/bin"
, Test "hadrian/dist"
, Test "hadrian/dist-newstyle"
- , Test "libraries//*.buildinfo"
- , Test "libraries//GNUmakefile"
- , Test "libraries//config.log"
- , Test "libraries//config.status"
- , Test "libraries//ghc.mk"
- , Test "libraries//include/Hs*Config.h"
+ , Test "libraries/**/*.buildinfo"
+ , Test "libraries/**/GNUmakefile"
+ , Test "libraries/**/config.log"
+ , Test "libraries/**/config.status"
+ , Test "libraries/**/ghc.mk"
+ , Test "libraries/**/include/Hs*Config.h"
, Test "libraries/dph"
, Test "libraries/primitive"
, Test "libraries/random"