Cabal-1.16.0: A framework for packaging Haskell software

Portability | portable
Maintainer | cabal-devel@haskell.org
Safe Haskell | None

Distribution.Simple.BuildPaths

Description

A bunch of dirs, paths and file names used for intermediate build steps.

Synopsis

- defaultDistPref :: FilePath
- srcPref :: FilePath -> FilePath
- hscolourPref :: FilePath -> PackageDescription -> FilePath
- haddockPref :: FilePath -> PackageDescription -> FilePath
- autogenModulesDir :: LocalBuildInfo -> String
- autogenModuleName :: PackageDescription -> ModuleName
- cppHeaderName :: String
- haddockName :: PackageDescription -> FilePath
- mkLibName :: PackageIdentifier -> String
- mkProfLibName :: PackageIdentifier -> String
- mkSharedLibName :: PackageIdentifier -> CompilerId -> String
- exeExtension :: String
- objExtension :: String
- dllExtension :: String

# Documentation

defaultDistPref :: FilePath

srcPref :: FilePath -> FilePath

hscolourPref :: FilePath -> PackageDescription -> FilePath

haddockPref :: FilePath -> PackageDescription -> FilePath

autogenModulesDir :: LocalBuildInfo -> String

The directory in which we put auto-generated modules

autogenModuleName :: PackageDescription -> ModuleName

The name of the auto-generated module associated with a package

cppHeaderName :: String

haddockName :: PackageDescription -> FilePath

mkLibName :: PackageIdentifier -> String

mkProfLibName :: PackageIdentifier -> String

mkSharedLibName :: PackageIdentifier -> CompilerId -> String

exeExtension :: String

Extension for executable files (typically `""` on Unix and `"exe"` on Windows or OS/2)

objExtension :: String

Extension for object files. For GHC and NHC the extension is `"o"`. Hugs uses either `"o"` or `"obj"` depending on the used C compiler.

dllExtension :: String

Extension for dynamically linked (or shared) libraries (typically `"so"` on Unix and `"dll"` on Windows)