Commit 5cf81870 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

'cabal-sdist': include extra-doc-files.

Fixes #1477.
parent 5ecebe92
......@@ -259,10 +259,16 @@ listPackageSourcesOrdinary verbosity pkg_descr pps createSetup =
. forM (dataFiles pkg_descr) $ \filename ->
matchFileGlob (dataDir pkg_descr </> filename)
-- Extra doc files.
, fmap concat
. forM (extraDocFiles pkg_descr) $ \ filename ->
matchFileGlob filename
-- License file.
, return $ case [licenseFile pkg_descr]
of [[]] -> []
l -> l
-- Install-include files.
, withLib $ \ l -> do
let lbi = libBuildInfo l
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment