summaryrefslogtreecommitdiff
path: root/README.dev
blob: 8d7f0273a54a1f6486b92c64f55fb59f5c870b60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Source code from the subversion repository
------------------------------------------

To compile source code obtained from the subversion repository,
make sure you have installed the autoconf, automake and libtools packages.
Execute
$ autoreconf -i

Required versions:
* autoconf >= 2.61
* automake >= 1.10.1 (maybe older versions work, please report)
* libtool >= 1.5.26 (maybe older versions work, please report)

Creating a new release
----------------------

 1) Run all tests with valgrind and check no memory leak remains:
       for f in .libs/lt-t*; do valgrind $f; done
 2) Check compilation with gmp 4.3.2 and mpfr 2.4.2.
 3) Check the version number in configure.ac ("AC_INIT (mpc, _version_...)"),
    INSTALL, src/get_version.c, src/mpc.h (remove suffix "-dev" in
    MPC_VERSION_STRING) and Makefile.vc.
 4) Verify that the API version in src/Makefile.am is correct.
 5) Check that NEWS, BUGS and TODO are up to date, and that the minimal
    version numbers of gmp and mpfr in configure.ac, INSTALL and
    doc/mpc.texi are correct.
 6) Execute "autoreconf; touch doc/mpc.texi; make distcheck".
    This updates the date and version number in doc/version.texi and
    creates the tarball for distribution.
    Warning: do this on a machine with a recent libtool (for example 2.2.x
    instead of 1.5.x which is buggy, cf
    http://lists.gforge.inria.fr/pipermail/mpc-discuss/2009-March/000106.html)
 7) Create an svn tag from inside the svn root:
    svn cp trunk tags/VERSION
 8) Update the web page on the server.
    The html documentation is created with
       makeinfo --html --no-split mpc.texi
    and the resulting mpc.html is copied to content_html.php.
 9) After the release, update the version number in configure.ac, INSTALL,
    src/get_version.c, src/mpc.h and Makefile.vc.
10) Potentially increase the API version in src/Makefile.am.
11) Commit the changes to svn.