Repository : ssh://[email protected]/Cabal On branch : ghc-head Link : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=5cf81870cf7b107e16e85caf5edefb33ec4cb278
>--------------------------------------------------------------- commit 5cf81870cf7b107e16e85caf5edefb33ec4cb278 Author: Mikhail Glushenkov <[email protected]> Date: Thu Sep 5 21:19:01 2013 +0200 'cabal-sdist': include extra-doc-files. Fixes #1477. >--------------------------------------------------------------- 5cf81870cf7b107e16e85caf5edefb33ec4cb278 Cabal/Distribution/Simple/SrcDist.hs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cabal/Distribution/Simple/SrcDist.hs b/Cabal/Distribution/Simple/SrcDist.hs index 3ad66c5..439175c 100644 --- a/Cabal/Distribution/Simple/SrcDist.hs +++ b/Cabal/Distribution/Simple/SrcDist.hs @@ -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 _______________________________________________ ghc-commits mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-commits
