Skip to content
Snippets Groups Projects
Commit c99385d6 authored by Isaac Potoczny-Jones's avatar Isaac Potoczny-Jones
Browse files

removed unnecessary configure-before-sdist

parent 0655125f
No related branches found
No related tags found
No related merge requests found
......@@ -144,8 +144,7 @@ defaultMainNoRead pkg_descr
SDistCmd -> do
(_, args) <- parseSDistArgs args []
no_extra_flags args
localbuildinfo <- getPersistBuildConfig
sdist srcPref distPref knownSuffixHandlers pkg_descr localbuildinfo
sdist srcPref distPref knownSuffixHandlers pkg_descr
RegisterCmd uInst -> do
(uInst, _, args) <- parseRegisterArgs uInst args []
......
......@@ -69,8 +69,8 @@ sdist :: FilePath -- ^build prefix (temp dir)
-> FilePath -- ^TargetPrefix
-> [PPSuffixHandler] -- ^ extra preprocessors (includes suffixes)
-> PackageDescription
-> LocalBuildInfo -> IO ()
sdist tmpDir targetPref pps pkg_descr _ = do
-> IO ()
sdist tmpDir targetPref pps pkg_descr = do
setupMessage "Building source dist for" pkg_descr
ex <- doesDirectoryExist tmpDir
when ex (die $ "Source distribution already in place. please move: " ++ tmpDir)
......
** sdist probably doesn't look in the right place, doesn't put in the
files for executables
** where are we using allModules, is this the right place?
** move some of the junk in Utils up one level, then use currentDir =
......@@ -16,7 +13,6 @@
- if there's a flag, --include-preprocessed-sources (or something
better) run the preprocessing phase and include both the
unpreprocessed and the preprocessed sources in the source tarball?
- why does it need configure first?
** clarify description filename issues
- allow foo.hsproj?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment