[commit: packages/time] master: version 1.4.2; improve Makefile (1e92867)

git at git.haskell.org git at git.haskell.org
Sun Dec 20 07:54:32 UTC 2015


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

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

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

commit 1e928677ff732d5355ef249faa4584caa2335bd9
Author: Ashley Yakeley <ashley at semantic.org>
Date:   Sun Mar 2 21:18:43 2014 -0800

    version 1.4.2; improve Makefile
    
    Ignore-this: 9dcd1b4a4decdf6ea319f55849f97cbf
    
    darcs-hash:20140303051843-ac6dd-949729bef614ae9d022ba7a96419719ef92c2f0a


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

1e928677ff732d5355ef249faa4584caa2335bd9
 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