[commit: packages/time] ghc-head: version 1.4.2; improve Makefile (db383ba)
git at git.haskell.org
git at git.haskell.org
Mon Mar 3 08:30:15 UTC 2014
Repository : ssh://git@git.haskell.org/time
On branch : ghc-head
Link : http://git.haskell.org/packages/time.git/commitdiff/db383ba64d08634a4388dbdcfd30e3b470b46140
>---------------------------------------------------------------
commit db383ba64d08634a4388dbdcfd30e3b470b46140
Author: Ashley Yakeley <ashley at semantic.org>
Date: Mon Mar 3 05:18:43 2014 +0000
version 1.4.2; improve Makefile
>---------------------------------------------------------------
db383ba64d08634a4388dbdcfd30e3b470b46140
Makefile | 11 +++++++----
time.cabal | 2 +-
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 4fe6afb..73f55fd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-default: install
+default: clean test install sdist
# Building
@@ -17,8 +17,11 @@ test: build
haddock: configure
cabal haddock
-install: build test haddock
- cabal install --user --enable-library-profiling --enable-executable-profiling
+copy: build test haddock
+ cabal copy
+
+install:
+ cabal install --user --ghc-options=-Werror --enable-library-profiling --enable-executable-profiling
sdist: clean configure
cabal sdist
@@ -26,4 +29,4 @@ sdist: clean configure
# switch off intermediate file deletion
.SECONDARY:
-.PHONY: default clean configure build haddock install test sdist
+.PHONY: default clean configure build haddock copy install test sdist
diff --git a/time.cabal b/time.cabal
index 334fa08..fad816c 100644
--- a/time.cabal
+++ b/time.cabal
@@ -1,5 +1,5 @@
name: time
-version: 1.4.1
+version: 1.4.2
stability: stable
license: BSD3
license-file: LICENSE
More information about the ghc-commits
mailing list