Updating the net package
D.J.Steinitz
D.J.Steinitz@ukc.ac.uk
Fri, 14 Jun 2002 10:56:26 +0100
> 2. What do I put in build.mk to change the version? I would like
>=20
> /home/djs25/testghc/ghc-5.02.2/bin/ghc --version
>=20
> to give
>=20
> The Glorious Glasgow Haskell Compilation System, version 5.02.2test
>=20
> so that I know am picking up my test version rather than the=20
> real thing.
You can fiddle with the version in fptools/ghc/mk/version.mk, but I
can't guarantee that if you don't use a version of the form A.BB.C or
A.BB.<date>, then things will work properly. eg. configure scripts
which look for GHC will attempt to parse the version number and fail if
it isn't in a recognised form.
Ok I won't do that! How do I get the A.BB.<date> set as a version? Do I have
edit version.mk? In which case what is the format for <date>?
Hmmm now I've looked int version.mk I see that the ProjectVersion is 5.02.3
when I thought I had checked 5.02.2 out of the repository. This isn't a
problem as the change should work with either version.
ghc is making away as I type so I might be nearly there.
Dominic.
C
C
problem as the I'm going to make shou