aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-04-26 09:52:06 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-04-26 09:52:06 +0000
commitbcce9c1ff5d5bfeb1d9c51554e432b6bef91ac97 (patch)
tree6f14d847c82fb4733601f3390f5ce2daa09047eb /configure.ac
parentd4779abc042710638fb4afe419f83d4627c94004 (diff)
* Only add `-preRELEASE' to the version if STABLE != 1.
* Documented release procedures.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 10 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 90da6e8cc..2c1d9055b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,11 +3,17 @@ AC_CONFIG_SRCDIR(README)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE
+# Change to `1' to produce a `stable' release (i.e., the `preREVISION'
+# suffix is not added).
+STABLE=0
+
# Put the revision number in the version.
-if REVISION=`test -d $srcdir/.svn && svnversion $srcdir 2> /dev/null`; then
- VERSION="${VERSION}pre${REVISION}"
-elif REVISION=`cat $srcdir/svn-revision 2> /dev/null`; then
- VERSION="${VERSION}pre${REVISION}"
+if test "$STABLE" != "1"; then
+ if REVISION=`test -d $srcdir/.svn && svnversion $srcdir 2> /dev/null`; then
+ VERSION="${VERSION}pre${REVISION}"
+ elif REVISION=`cat $srcdir/svn-revision 2> /dev/null`; then
+ VERSION="${VERSION}pre${REVISION}"
+ fi
fi
AC_PREFIX_DEFAULT(/nix)