diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-01-05 22:10:01 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-01-05 22:10:02 +0100 |
commit | e32a6e1f4ac847272598776fd15f4a98069690e5 (patch) | |
tree | 02d72208b24e5c269d499eb51ce63cfaa1499831 /utils/ghc-cabal | |
parent | 77494fa9fa34c1a831caabc194e855167de0c2d9 (diff) | |
download | haskell-e32a6e1f4ac847272598776fd15f4a98069690e5.tar.gz |
Add Cabal synopses and descriptions
Various people (myself included) have complained about the lack of
useful descriptions for the various packages included in GHC's source
tree. Fix this.
Test Plan: Validate
Reviewers: austin, thomie
Reviewed By: thomie
Subscribers: angerman, ezyang
Differential Revision: https://phabricator.haskell.org/D1736
Diffstat (limited to 'utils/ghc-cabal')
-rw-r--r-- | utils/ghc-cabal/Main.hs | 2 | ||||
-rw-r--r-- | utils/ghc-cabal/ghc-cabal.cabal | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs index 680c573107..2c05da83a7 100644 --- a/utils/ghc-cabal/Main.hs +++ b/utils/ghc-cabal/Main.hs @@ -409,7 +409,7 @@ generate directory distdir dll0Modules config_args variablePrefix ++ "_COMPONENT_ID = " ++ display (localCompatPackageKey lbi), variablePrefix ++ "_MODULES = " ++ unwords mods, variablePrefix ++ "_HIDDEN_MODULES = " ++ unwords otherMods, - variablePrefix ++ "_SYNOPSIS =" ++ synopsis pd, + variablePrefix ++ "_SYNOPSIS =" ++ (unwords $ lines $ synopsis pd), variablePrefix ++ "_HS_SRC_DIRS = " ++ unwords (hsSourceDirs bi), variablePrefix ++ "_DEPS = " ++ unwords deps, variablePrefix ++ "_DEP_IPIDS = " ++ unwords dep_ipids, diff --git a/utils/ghc-cabal/ghc-cabal.cabal b/utils/ghc-cabal/ghc-cabal.cabal index 1697f7cebc..d6048a3cb2 100644 --- a/utils/ghc-cabal/ghc-cabal.cabal +++ b/utils/ghc-cabal/ghc-cabal.cabal @@ -5,8 +5,12 @@ License: BSD3 -- XXX License-File: LICENSE Author: XXX Maintainer: XXX -Synopsis: XXX -Description: XXX +Synopsis: A utility for producing package metadata from Cabal package + descriptions for GHC's build system +Description: This program is responsible for producing @package-data.mk@ files + for Cabal packages. These files are used by GHC's @make@-based + build system to determine the source files included by package, + package dependencies, and other metadata. Category: Development build-type: Simple cabal-version: >=1.10 |