summaryrefslogtreecommitdiff
path: root/update-version
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2004-01-06 14:06:48 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2004-01-06 14:06:48 +0000
commit3abf3aa727d5a2aaafb40d2800b68b7b6a9e5980 (patch)
tree47af5fd6a3e01bdf3b8c9a1c29beeaf15b8875f7 /update-version
parent2d73e52b1531f4fa2934788f05f80dcd6e46c146 (diff)
downloadmpfr-3abf3aa727d5a2aaafb40d2800b68b7b6a9e5980.tar.gz
Added mpfr_version function and test.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2598 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'update-version')
-rwxr-xr-xupdate-version1
1 files changed, 1 insertions, 0 deletions
diff --git a/update-version b/update-version
index eff367e42..6f955f07d 100755
--- a/update-version
+++ b/update-version
@@ -13,3 +13,4 @@ sed -i "s/\(@set VERSION \).*/\1$vers/" mpfr.texi
sed -i "s/\(#define MPFR_VERSION_MAJOR \).*/\1$1/; \
s/\(#define MPFR_VERSION_MINOR \).*/\1$2/; \
s/\(#define MPFR_VERSION_PATCHLEVEL \).*/\1$3/" mpfr.h
+sed -i "s/\(return \"\).*\"/\1$vers\"/" version.c