summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@chalmers.se>2008-05-23 13:19:24 +0000
committerkr.angelov <kr.angelov@chalmers.se>2008-05-23 13:19:24 +0000
commitb8814af2f9eb8291461e5f1da09d7d7344346339 (patch)
tree25d44254d66ff2763881e68699aa1ca945af1d35
parent16ba392ee4b54a4ad008a439bcdb7dd98941aa60 (diff)
Remove GF.Today and use the autogenerated Paths_gf from Cabal
-rw-r--r--GF.cabal1
-rw-r--r--src-3.0/GF/Infra/UseIO.hs4
2 files changed, 2 insertions, 3 deletions
diff --git a/GF.cabal b/GF.cabal
index 11922cbda..eefa104ee 100644
--- a/GF.cabal
+++ b/GF.cabal
@@ -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
diff --git a/src-3.0/GF/Infra/UseIO.hs b/src-3.0/GF/Infra/UseIO.hs
index 95e4b428b..ee66ddcff 100644
--- a/src-3.0/GF/Infra/UseIO.hs
+++ b/src-3.0/GF/Infra/UseIO.hs
@@ -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