diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-05-08 08:48:12 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-05-08 08:48:12 +0200 |
commit | 1925c123d7d8184a1d2ddc0a413e0fd2776e1083 (patch) | |
tree | fad79f909d9c3be53d68e6ebd67202650536d387 /packages/hmatrix/Setup.lhs | |
parent | eb3f702d065a4a967bb754977233e6eec408fd1f (diff) |
empty hmatrix-base
Diffstat (limited to 'packages/hmatrix/Setup.lhs')
-rw-r--r-- | packages/hmatrix/Setup.lhs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/hmatrix/Setup.lhs b/packages/hmatrix/Setup.lhs new file mode 100644 index 0000000..e3f9847 --- /dev/null +++ b/packages/hmatrix/Setup.lhs | |||
@@ -0,0 +1,18 @@ | |||
1 | #! /usr/bin/env runhaskell | ||
2 | |||
3 | > import Distribution.Simple | ||
4 | > import Distribution.Simple.Setup | ||
5 | > import Distribution.PackageDescription | ||
6 | > import Distribution.Simple.LocalBuildInfo | ||
7 | |||
8 | > import System.Process(system) | ||
9 | > import Config(config) | ||
10 | |||
11 | > main = defaultMainWithHooks simpleUserHooks { confHook = c } | ||
12 | |||
13 | > c x y = do | ||
14 | > binfo <- confHook simpleUserHooks x y | ||
15 | > pbi <- config binfo | ||
16 | > let pkg_descr = localPkgDescr binfo | ||
17 | > return $ binfo { localPkgDescr = updatePackageDescription pbi pkg_descr } | ||
18 | |||