summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Gohla <b.gohla@gmx.de>2019-09-21 13:09:33 (GMT)
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-09-23 21:53:23 (GMT)
commitb650c2b6dc9b43c7adc116236fd6588303df807b (patch)
treeb24dd41bfbf5fda4c456405dfa640f2dc6f6d886
parent9fe4d2df9f728f6bc799001b47c861619a90db11 (diff)
downloadghc-b650c2b6dc9b43c7adc116236fd6588303df807b.zip
ghc-b650c2b6dc9b43c7adc116236fd6588303df807b.tar.gz
ghc-b650c2b6dc9b43c7adc116236fd6588303df807b.tar.bz2
alphabetical ordering
-rw-r--r--hadrian/src/Builder.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/hadrian/src/Builder.hs b/hadrian/src/Builder.hs
index c2e1056..1a4b9c9 100644
--- a/hadrian/src/Builder.hs
+++ b/hadrian/src/Builder.hs
@@ -111,22 +111,23 @@ instance NFData HaddockMode
data Builder = Alex
| Ar ArMode Stage
| Autoreconf FilePath
- | DeriveConstants
| Cabal ConfigurationInfo Stage
| Cc CcMode Stage
| Configure FilePath
+ | DeriveConstants
| GenApply
| GenPrimopCode
| Ghc GhcMode Stage
| GhcPkg GhcPkgMode Stage
| Haddock HaddockMode
| Happy
- | Hpc
| Hp2Ps
+ | Hpc
| HsCpp
| Hsc2Hs Stage
| Ld Stage
| Make FilePath
+ | Makeinfo
| Nm
| Objdump
| Patch
@@ -137,7 +138,6 @@ data Builder = Alex
| Tar TarMode
| Unlit
| Xelatex
- | Makeinfo
deriving (Eq, Generic, Show)
instance Binary Builder
@@ -311,6 +311,7 @@ systemBuilderPath builder = case builder of
HsCpp -> fromKey "hs-cpp"
Ld _ -> fromKey "ld"
Make _ -> fromKey "make"
+ Makeinfo -> fromKey "makeinfo"
Nm -> fromKey "nm"
Objdump -> fromKey "objdump"
Patch -> fromKey "patch"
@@ -320,7 +321,6 @@ systemBuilderPath builder = case builder of
Sphinx _ -> fromKey "sphinx-build"
Tar _ -> fromKey "tar"
Xelatex -> fromKey "xelatex"
- Makeinfo -> fromKey "makeinfo"
_ -> error $ "No entry for " ++ show builder ++ inCfg
where
inCfg = " in " ++ quote configFile ++ " file."