From fac817eb6b9149914e90e0d984041cdda2ffe3ec Mon Sep 17 00:00:00 2001
From: Duncan Coutts <duncan.coutts@worc.ox.ac.uk>
Date: Tue, 10 Oct 2006 14:00:27 +0000
Subject: [PATCH] Share one more place where the cabal version is defined.

---
 Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index f9e9b9f87d..db68ffc734 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
 TOP=..
 
+CABALVERSION=1.1.7
+
 ifeq "$(findstring boilerplate.mk, $(wildcard $(TOP)/mk/*))" ""
 # ----------------------------------------------------------------------------
 # Standalone Makefile:
 
-CABALVERSION=1.1.7
 KIND=rc
 #KIND=latest
 GHCFLAGS= --make -fno-warn-unused-matches -cpp
@@ -206,7 +207,7 @@ ALL_DIRS = \
 EXCLUDED_SRCS = DefaultSetup.lhs
 
 PACKAGE		= Cabal
-VERSION		= 1.1.7
+VERSION		= $(CABALVERSION)
 
 PACKAGE_DEPS	= base
 
-- 
GitLab