adding "dist/build".

This commit is contained in:
Kazu Yamamoto 2013-09-16 10:55:26 +09:00
parent b75d96b50a
commit de9aa7740c

View File

@ -69,9 +69,13 @@ problematicPackages = [
"base-compat" -- providing "Prelude"
]
cabalBuildDirs :: [FilePath]
cabalBuildDirs = ["dist/build"]
includeDirectories :: String -> String -> [FilePath] -> [String]
includeDirectories cdir wdir [] = uniqueAndSort [cdir,wdir]
includeDirectories cdir wdir dirs = uniqueAndSort (map (cdir </>) dirs ++ [cdir,wdir])
includeDirectories cdir wdir dirs = uniqueAndSort (extdirs ++ [cdir,wdir])
where
extdirs = map (cdir </>) $ dirs ++ cabalBuildDirs
----------------------------------------------------------------