mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
* Moved the build farm job for building Nix to the Nix tree.
This commit is contained in:
parent
0c478d2f4d
commit
5d4eb9dd07
3 changed files with 81 additions and 27 deletions
15
configure.ac
15
configure.ac
|
@ -1,21 +1,8 @@
|
|||
AC_INIT(nix, 0.13)
|
||||
AC_INIT(nix, m4_esyscmd([echo -n 0.13$VERSION_SUFFIX]))
|
||||
AC_CONFIG_SRCDIR(README)
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
AM_INIT_AUTOMAKE([dist-bzip2 foreign])
|
||||
|
||||
# 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 test "$STABLE" != "1"; then
|
||||
if REVISION=`test -d $srcdir/.svn && svnversion -n $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_DEFINE_UNQUOTED(NIX_VERSION, ["$VERSION"], [Nix version.])
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue