			     Making a New Release
			     ____________________

$Id: new_release.txt,v 1.14 2005/11/07 14:20:51 brock Exp $

This file is so that I remember the steps for making a new Mn_Fit release.

The scripts assume that a tar subdirectory exists in the Mn_Fit tree.

mn_tar assume that the CVS repository is ${HOME}/CVS. If this is not the case,
set the environment variable MN_FIT_CVS, e.g.

export MN_FIT_CVS=zina04.physik.uni-bonn.de:/home/brock/CVS

1) Document changes in detail in doc/ChangeLog

2) Make sure src/help/changes/v5_1.txt is up to date. Make sure that it is
   also included list of help files in the Makefile

3) Update the version number in src/manual/mn_header.tex and in INSTALL

4) Update any startup message in doc/mn_news.txt. Also add any release notes
   to NEWS.

5) Make a new version of the manual and tutorial:
   make manual
   Check that the manual pages in Makefile for figures and fonts are
   still OK.

6) make mn_fit_date to fix date/time of this version.

7) Check all changes into the Mn_Fit CVS repository.

8) Create a new tag:
   cvs tag vN_MM
   where N is major release number and M is minor release.

9) Make a tar file by running the mn_tar script for the source tree:
   cd $MN_FIT
   ./scripts/mn_tar s vN_MM

10) Add the tar file(s) ./tar/index.html and make an update to the
   manual link.


In order to make executables for the Mn_Fit webpage do the following:

1) Copy the source to wherever you want to make an executable

2) Unpack tar file and make a new Mn_Fit executable, e.g.
   cd /tmp
   tar zxvf mn_fit_vN_MM.tar.gz
   cd mn_fit_vN_MM
   make all [LOCATION=CERNAFS]

3) Create a tar file with the executable:
   cd /tmp/mn_fit_vN_MM
   ./scripts/mn_tar e vN_M


In order to make the manual etc. for the Mn_Fit webpage do the following:

make manual
make latex2html
make tutorial
./scripts/mn_tar m vN_MM
