mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
* Only add `-preRELEASE' to the version if STABLE != 1.
* Documented release procedures.
This commit is contained in:
parent
d4779abc04
commit
bcce9c1ff5
2 changed files with 40 additions and 4 deletions
14
configure.ac
14
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue