From 1e928677ff732d5355ef249faa4584caa2335bd9 Mon Sep 17 00:00:00 2001
From: Ashley Yakeley <ashley@semantic.org>
Date: Sun, 2 Mar 2014 21:18:43 -0800
Subject: [PATCH] version 1.4.2; improve Makefile

Ignore-this: 9dcd1b4a4decdf6ea319f55849f97cbf

darcs-hash:20140303051843-ac6dd-949729bef614ae9d022ba7a96419719ef92c2f0a
---
 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
-- 
GitLab