mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
* Use svn-revision to construct package version.
This commit is contained in:
parent
6d5877ea12
commit
4da9316c8f
1 changed files with 5 additions and 5 deletions
|
@ -1,13 +1,13 @@
|
|||
AC_INIT(nix, "0.4")
|
||||
AC_INIT(nix, "0.5")
|
||||
AC_CONFIG_SRCDIR(README)
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
# Put the revision number in the version.
|
||||
if REVISION=`svnversion $srcdir 2> /dev/null`; then
|
||||
if test "$REVISION" != "exported"; then
|
||||
if REVISION=`test -d $srcdir/.svn && svnversion $srcdir 2> /dev/null`; then
|
||||
VERSION="$VERSION-r$REVISION"
|
||||
elif REVISION=`cat $srcdir/svn-revision 2> /dev/null`; then
|
||||
VERSION="$VERSION-r$REVISION"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_PREFIX_DEFAULT(/nix)
|
||||
|
|
Loading…
Reference in a new issue