Cabal-1.24.2.0: A framework for packaging Haskell software

Copyright | Isaac Jones 2003-2004 Duncan Coutts 2008
License | BSD3
Maintainer | cabal-devel@haskell.org
Portability | portable
Safe Haskell | None
Language | Haskell98

Distribution.Simple.BuildPaths

Description

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

Synopsis

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

# Documentation

defaultDistPref :: FilePath Source #

srcPref :: FilePath -> FilePath Source #

haddockDirName :: HaddockTarget -> PackageDescription -> FilePath Source #

This is the name of the directory in which the generated haddocks should be stored. It does not include the `distdochtml` prefix.

hscolourPref :: FilePath -> PackageDescription -> FilePath Source #

hscolourPref' :: HaddockTarget -> FilePath -> PackageDescription -> FilePath Source #

haddockPref :: FilePath -> PackageDescription -> FilePath Source #

haddockPref' :: HaddockTarget -> FilePath -> PackageDescription -> FilePath Source #

The directory to which generated haddock documentation should be written.

autogenModulesDir :: LocalBuildInfo -> String Source #

The directory in which we put auto-generated modules

autogenModuleName :: PackageDescription -> ModuleName Source #

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

cppHeaderName :: String Source #

haddockName :: PackageDescription -> FilePath Source #

mkLibName :: UnitId -> String Source #

mkProfLibName :: UnitId -> String Source #

mkSharedLibName :: CompilerId -> UnitId -> String Source #

exeExtension :: String Source #

Default extension for executable files on the current platform. (typically `""` on Unix and `"exe"` on Windows or OS/2)

objExtension :: String Source #

Extension for object files. For GHC the extension is `"o"`.

dllExtension :: String Source #

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