From e32a6e1f4ac847272598776fd15f4a98069690e5 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 5 Jan 2016 22:10:01 +0100 Subject: 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 --- utils/ghc-cabal/Main.hs | 2 +- utils/ghc-cabal/ghc-cabal.cabal | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'utils/ghc-cabal') 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 -- cgit v1.2.1