[commit: packages/time] master: add Setup.hs (de08f7e)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 22:56:55 UTC 2015


Repository : ssh://git@git.haskell.org/time

On branch  : master
Link       : http://git.haskell.org/packages/time.git/commitdiff/de08f7e6870ea40f58f77719e08ca6562084f141

>---------------------------------------------------------------

commit de08f7e6870ea40f58f77719e08ca6562084f141
Author: Ross Paterson <ross at soi.city.ac.uk>
Date:   Thu Sep 28 05:43:41 2006 -0700

    add Setup.hs
    
    darcs-hash:20060928124341-b47d3-60393a942de235747b1fd6da3d2368850b46b3e4


>---------------------------------------------------------------

de08f7e6870ea40f58f77719e08ca6562084f141
 Makefile | 2 ++
 Setup.hs | 6 ++++++
 2 files changed, 8 insertions(+)

diff --git a/Makefile b/Makefile
index 9c27f39..e2d286b 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,8 @@ SRC_HC_OPTS += -Wall -Werror -fffi -Iinclude
 
 SRC_CC_OPTS += -Wall -Werror -Iinclude
 
+EXCLUDED_SRCS += Setup.hs
+
 SRC_HADDOCK_OPTS += -t "Haskell Hierarchical Libraries ($(PACKAGE) package)"
 
 UseGhcForCc = YES
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
index 0000000..60804b2
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,6 @@
+module Main (main) where
+
+import Distribution.Simple (defaultMainWithHooks, defaultUserHooks)
+
+main :: IO ()
+main = defaultMainWithHooks defaultUserHooks



More information about the ghc-commits mailing list