chiark / gitweb /
clean targets except realclean don't remove spec.html, spec.ps.
[userv.git] / configure.in
index fb5a128a2b7f052aaa11907b453c0e2343df551d..86ce18feb3e64dc1d3865ed24cfc0e74357e4c34 100644 (file)
@@ -130,4 +130,8 @@ if test "${GCC-no}" = yes; then
 fi
 [CFLAGS="`echo $CFLAGS $CWARNS | sed -e 's/-O[0-9]*/$(OPTIMISE)/'`"]
 
+AC_SUBST(VERSION)
+VERSION="`sed -n '/^userv (.*)/!d; s/^userv (//; s/).*//; p; q' Changelog`"
+echo will build version $VERSION
+
 AC_OUTPUT(Makefile)