Skip to content
Snippets Groups Projects
Commit 2248becf authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

* Make sure that the prerelease version is included in `--version'.

parent 50b9caac
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,8 @@ if test "$STABLE" != "1"; then
elif REVISION=`cat $srcdir/svn-revision 2> /dev/null`; then
VERSION="${VERSION}pre${REVISION}"
fi
NIX_VERSION=$VERSION
AC_SUBST(NIX_VERSION)
fi
AC_PREFIX_DEFAULT(/nix)
......
......@@ -7,5 +7,5 @@ AM_CXXFLAGS = \
-DNIX_DATA_DIR=\"$(datadir)\" \
-DNIX_STATE_DIR=\"$(localstatedir)/nix\" \
-DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \
-DNIX_VERSION=\"$(VERSION)\" \
-DNIX_VERSION=\"$(NIX_VERSION)\" \
-I.. ${aterm_include} -I../libutil -I../libstore
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment