From 347936f4b546e78cfa301f75416ffc4c9334c3eb Mon Sep 17 00:00:00 2001
From: simonmar <unknown>
Date: Tue, 5 Oct 1999 11:36:28 +0000
Subject: [PATCH] [project @ 1999-10-05 11:36:27 by simonmar] GHC versions are
 now of the form AA.BB.C, where AA is the major version, BB is the minor
 version, and C is the patchlevel.

Part of this commit accidentally ended up in an earlier commit to
fptools/ghc/mk/version.mk, which contains some comments on the version
rationale.  Excerpt:

# ProjectVersionInt does *not* contain the patchlevel (rationale: this
# figure is used for conditional compilations, and library interfaces
# etc. are not supposed to change between patchlevels).

i.e. a patchlevel is for bugfixes only, no new features or
interface-changing changes.  Unfortunately, we made this mistake in
4.04pl1, and won't be making it again.
---
 Makefile       | 2 +-
 ghc/PATCHLEVEL | 1 -
 ghc/VERSION    | 1 +
 3 files changed, 2 insertions(+), 2 deletions(-)
 delete mode 100644 ghc/PATCHLEVEL
 create mode 100644 ghc/VERSION

diff --git a/Makefile b/Makefile
index 3ce1f8212850..cbce27b338a6 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ BIN_DIST_TOP= distrib/Makefile-bin.in \
 	      README \
 	      distrib/INSTALL \
 	      $(BIN_DIST_MAIN_DIR)/ANNOUNCE \
-	      $(BIN_DIST_MAIN_DIR)/PATCHLEVEL \
+	      $(BIN_DIST_MAIN_DIR)/VERSION \
 	      $(BIN_DIST_MAIN_DIR)/RELEASE \
 	      $(BIN_DIST_MAIN_DIR)/LICENSE \
 	      glafp-utils/mkdirhier/mkdirhier \
diff --git a/ghc/PATCHLEVEL b/ghc/PATCHLEVEL
deleted file mode 100644
index eaea370886c9..000000000000
--- a/ghc/PATCHLEVEL
+++ /dev/null
@@ -1 +0,0 @@
-The Glamorous Glasgow Haskell Compiler, version 4.04, patchlevel 0
diff --git a/ghc/VERSION b/ghc/VERSION
new file mode 100644
index 000000000000..698a0d4c0cac
--- /dev/null
+++ b/ghc/VERSION
@@ -0,0 +1 @@
+The Glasgow Haskell Compiler, version 4.05
-- 
GitLab