mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
* Make it easy to run individual tests from the command line.
This commit is contained in:
parent
85793fa438
commit
a4c63c6e8e
23 changed files with 78 additions and 33 deletions
|
@ -1,4 +1,4 @@
|
|||
AC_INIT(nix, "0.10")
|
||||
AC_INIT(nix, 0.10)
|
||||
AC_CONFIG_SRCDIR(README)
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
AM_INIT_AUTOMAKE([dist-bzip2 foreign])
|
||||
|
@ -10,12 +10,14 @@ STABLE=0
|
|||
# Put the revision number in the version.
|
||||
if test "$STABLE" != "1"; then
|
||||
if REVISION=`test -d $srcdir/.svn && svnversion $srcdir 2> /dev/null`; then
|
||||
VERSION="${VERSION}pre${REVISION}"
|
||||
VERSION=${VERSION}pre${REVISION}
|
||||
elif REVISION=`cat $srcdir/svn-revision 2> /dev/null`; then
|
||||
VERSION="${VERSION}pre${REVISION}"
|
||||
VERSION=${VERSION}pre${REVISION}
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_DEFINE_UNQUOTED(NIX_VERSION, ["$(echo $VERSION)"], [version])
|
||||
|
||||
AC_PREFIX_DEFAULT(/nix)
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue