summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.dev40
-rw-r--r--src/Makefile.am1
2 files changed, 22 insertions, 19 deletions
diff --git a/README.dev b/README.dev
index 5156ff0..6819138 100644
--- a/README.dev
+++ b/README.dev
@@ -10,22 +10,24 @@ $ autoreconf -i
Creating a new release
----------------------
-1) Check the version number in configure.ac ("AC_INIT (mpc, _version_...)"),
- in INSTALL, and in src/mpc.h (remove suffix in MPC_VERSION_STRING).
-2) Disactivate the -Werror option in configure.ac.
-3) 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.
-4) 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.
-5) Create an svn tag from inside the svn root:
- svn cp trunk tags/VERSION
-6) Update the web page inside svn and 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.
-7) After the release, update the version number in configure.ac, INSTALL
- and src/mpc.h.
-8) Reactivate the -Werror option in configure.ac.
-9) Commit the changes to svn.
+ 1) Check the version number in configure.ac ("AC_INIT (mpc, _version_...)"),
+ in INSTALL, and in src/mpc.h (remove suffix in MPC_VERSION_STRING).
+ 2) Disactivate the -Werror option in configure.ac.
+ 3) Verify that the API version in src/Makefile.am is correct.
+ 4) 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.
+ 5) 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.
+ 6) Create an svn tag from inside the svn root:
+ svn cp trunk tags/VERSION
+ 7) Update the web page inside svn and 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.
+ 8) After the release, update the version number in configure.ac, INSTALL
+ and src/mpc.h.
+ 9) Reactivate the -Werror option in configure.ac.
+10) Potentially increase the API version in src/Makefile.am.
+11) Commit the changes to svn.
diff --git a/src/Makefile.am b/src/Makefile.am
index 10c3317..4c14b1b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,6 +2,7 @@
AM_CFLAGS=@WARNINGCFLAGS@
lib_LTLIBRARIES = libmpc.la
+libmpc_la_LDFLAGS = -version-info 1:0:0
libmpc_la_SOURCES = mpc-impl.h abs.c add.c add_fr.c add_ui.c arg.c clear.c \
cmp.c cmp_si_si.c conj.c cos.c cosh.c div_2exp.c div.c div_fr.c div_ui.c exp.c \
fr_div.c fr_sub.c get_prec2.c get_prec.c imag.c init2.c init3.c init.c \