Legend:
- Unmodified
- Added
- Removed
-
Setup.lhs
r21670 r21688 1 1 #!/usr/bin/env runghc 2 > {-# GHC_OPTIONS -fno-warn-deprecation #-} 2 3 > import Distribution.Simple 3 4 > import System.Directory 4 5 > import System.Environment 5 > import System.Cmd (rawSystem)6 > -- import System.Cmd (rawSystem) 6 7 > 7 8 > main :: IO () … … 10 11 > if args == ["-d"] then putStrLn =<< getAppUserDataDirectory "cabal" else do 11 12 >-- writeBuildInfo 12 > defaultMainWithHooks autoconfUserHooks13 > defaultMainWithHooks defaultUserHooks 13 14 >-- where 14 15 >-- writeBuildInfo = rawSystem "perl" ["Configure.PL"]
