summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorDustin Sallings <dustin@spy.net>2009-03-09 11:52:25 -0700
committerDustin Sallings <dustin@spy.net>2009-03-26 11:55:26 -0700
commit923a335bf8613696d658448cd9c48a963924d436 (patch)
treec8f9f6e8fad4dcfb02e79574fb544ba8281766d0 /autogen.sh
parent496384caa61e4f577196db51aea259a642a27d4a (diff)
downloadmemcached-923a335bf8613696d658448cd9c48a963924d436.tar.gz
Use git's version number for releases.
This will allow more specific version numbers, while simplifying a proper release down to a tag and make dist. During development, ./version.sh needs to run periodically to update the version number. I'd recommend just adding a call to version.sh as a git post commit hook: % cat .git/hooks/post-commit echo "Updating version." ./version.sh (and make sure the file is executable)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 873f0a4..3db9801 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -7,6 +7,9 @@
# apt-get install automake1.7 autoconf
#
+# Get the initial version.
+sh version.sh
+
echo "aclocal..."
ACLOCAL=`which aclocal-1.10 || which aclocal-1.9 || which aclocal19 || which aclocal-1.7 || which aclocal17 || which aclocal-1.5 || which aclocal15 || which aclocal || exit 1`
$ACLOCAL || exit 1