summaryrefslogtreecommitdiff
path: root/configure.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-07-01 15:31:36 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-07-01 15:31:36 -0400
commit3efba481b50ad8de6efe5869db90ac69f5c022a9 (patch)
treecdd56649385fa95041e53185eee33ec8046eba54 /configure.hs
parentcdbcd6f495580ee927a85af0581661b486c8ef77 (diff)
remove Extra-Source-Files nonsense
will need to find a better way to make sdist work, this is not livable
Diffstat (limited to 'configure.hs')
-rw-r--r--configure.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/configure.hs b/configure.hs
index 5f0ff5a1e..d47dddf1d 100644
--- a/configure.hs
+++ b/configure.hs
@@ -2,8 +2,6 @@
import System.Directory
import Data.List
-import Data.String.Utils
-import System.Cmd.Utils
import TestConfig
@@ -73,11 +71,9 @@ getVersionString = do
cabalSetup :: IO ()
cabalSetup = do
version <- getVersionString
- (_, filelist) <- pipeLinesFrom "find" (words ". -name .git -prune -o -name dist -prune -o -not -name *.hi -not -name *.o -not -name configure -not -name *.tmp -type f -print")
cabal <- readFile cabalfile
writeFile tmpcabalfile $ unlines $
map (setfield "Version" version) $
- map (setfield "Extra-Source-Files" $ join ", " $ sort filelist) $
lines cabal
renameFile tmpcabalfile cabalfile
where