|
| Distribution.Simple | | Portability | GHC | | Stability | alpha | | Maintainer | Isaac Jones <ijones@syntaxpolice.org> |
|
|
|
|
|
| Description |
| Explanation: Simple build system; basically the interface for
DistributionSimple* modules. When given the parsed command-line
args and package information, is able to perform basic commands
like configure, build, install, register, etc. |
|
| Synopsis |
|
|
|
| Documentation |
|
| module Distribution.Package |
|
| data License |
| This datatype indicates the license under which your package is
released. It is also wise to add your license to each source file.
The AllRightsReserved constructor is not actually a license, but
states that you are not giving anyone else a license to use or
distribute your work. The comments below are general guidelines.
Please read the licenses themselves and consult a lawyer if you are
unsure of your rights to release the software. | | Constructors | | GPL | GNU Public License. Source code must accompany alterations. | | LGPL | Lesser GPL, Less restrictive than GPL, useful for libraries. | | BSD3 | 3-clause BSD license, newer, no advertising clause. Very free license. | | BSD4 | 4-clause BSD license, older, with advertising clause. | | PublicDomain | Holder makes no claim to ownership, least restrictive license. | | AllRightsReserved | No rights are granted to others. Undistributable. Most restrictive. | | OtherLicense FilePath | Use another license by listing the relative path to your license file. |
| | Instances | |
|
|
| data VersionRange |
|
|
| orLaterVersion :: Version -> VersionRange |
|
| orEarlierVersion :: Version -> VersionRange |
|
| betweenVersionsInclusive :: Version -> Version -> VersionRange |
|
| data Extension |
| This represents non-standard compiler extensions which each
package might employ. | | Constructors | | OverlappingInstances | | | RecursiveDo | | | ParallelListComp | | | MultiParamTypeClasses | | | NoMonomorphismRestriction | | | FunctionalDependencies | | | RankNTypes | | | PolymorphicComponents | | | ExistentialQuantification | | | ScopedTypeVariables | | | ImplicitParams | | | FlexibleContexts | | | FlexibleInstances | | | EmptyDataDecls | | | CPP | | | TypeSynonymInstances | | | TemplateHaskell | | | ForeignFunctionInterface | | | AllowOverlappingInstances | | | AllowUndecidableInstances | | | AllowIncoherentInstances | | | InlinePhase | | | ContextStack | | | Arrows | | | Generics | | | NoImplicitPrelude | | | NamedFieldPuns | | | ExtensibleRecords | | | RestrictedTypeSynonyms | | | HereDocuments | | | UnsafeOverlappingInstances | |
| | Instances | |
|
|
| data Dependency |
|
|
| defaultMain :: IO () |
| Reads the package description file using IO. |
|
| defaultMainNoRead :: PackageDescription -> IO () |
| Accept description as input rather than using IO to read it. |
|
| defaultMainWithHooks :: UserHooks -> IO () |
|
| defaultUserHooks :: UserHooks |
Basic default UserHooks:
- on non-Windows systems, preConf runs ./configure, if present.
- all pre-hooks read additional build information from
package.buildinfo, if present.
Thus configure can use local system information to generate
package.buildinfo and possibly other files. |
|
| Produced by Haddock version 0.6 |