Add a convenience to help me build distfiles.

Originally committed to SVN as r1912.
This commit is contained in:
Amar Takhar 2008-03-06 01:16:07 +00:00
parent 454b0101d7
commit f740634a3b

View file

@ -74,6 +74,13 @@ else
AC_MSG_RESULT([no])
fi
AC_ARG_ENABLE(build-dist)
if test "$enable_build_dist" = "yes"; then
SVN_VERSION=`svnversion .`
PACKAGE_STRING="${PACKAGE_STRING}-r$SVN_VERSION"
PACKAGE_VERSION="${PACKAGE_VERSION}-r$SVN_VERSION"
VERSION="${VERSION}-r$SVN_VERSION"
fi
###################################################