Remove GF.Today and use the autogenerated Paths_gf from Cabal

This commit is contained in:
kr.angelov
2008-05-23 13:19:24 +00:00
parent 25d3602a15
commit 7f244c9a73
2 changed files with 2 additions and 3 deletions

View File

@@ -118,7 +118,6 @@ executable gf3
GF.Grammar.Predef
GF.Data.Str
GF.Data.Zipper
GF.Today
GF.Infra.Option
GF.Infra.UseIO
GF.GFCC.GFCCtoJS

View File

@@ -17,7 +17,7 @@ module GF.Infra.UseIO where
import GF.Data.Operations
import GF.Infra.Option
import GF.Today (libdir)
import Paths_gf(getDataDir)
import System.Directory
import System.FilePath
@@ -114,7 +114,7 @@ getLibraryPath =
let (path,_) = splitFileName exepath
canonicalizePath (combine path "../lib"))
#else
(const (return libdir))
(const getDataDir)
#endif
-- | extends the search path with the