<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>version.sh</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -33,4 +33,5 @@ memcached-*.tar.gz
 doc/protocol-binary-range.txt
 doc/protocol-binary.txt
 /sizes
-/internal_tests
\ No newline at end of file
+/internal_tests
+/version.m4</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -58,7 +58,7 @@ memcached_debug_dtrace.o: $(memcached_debug_OBJECTS)
 
 SUBDIRS = doc
 DIST_DIRS = scripts
-EXTRA_DIST = doc scripts TODO t memcached.spec memcached_dtrace.d
+EXTRA_DIST = doc scripts TODO t memcached.spec memcached_dtrace.d version.m4
 
 MOSTLYCLEANFILES = *.gcov *.gcno *.gcda *.tcov
 </diff>
      <filename>Makefile.am</filename>
    </modified>
    <modified>
      <diff>@@ -7,6 +7,9 @@
 #    apt-get install automake1.7 autoconf
 #
 
+# Get the initial version.
+sh version.sh
+
 echo &quot;aclocal...&quot;
 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</diff>
      <filename>autogen.sh</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,6 @@
 AC_PREREQ(2.52)
-AC_INIT(memcached, 1.3.2, brad@danga.com)
+m4_include([version.m4])
+AC_INIT(memcached, VERSION_NUMBER, brad@danga.com)
 AC_CANONICAL_SYSTEM
 AC_CONFIG_SRCDIR(memcached.c)
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)</diff>
      <filename>configure.ac</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>496384caa61e4f577196db51aea259a642a27d4a</id>
    </parent>
  </parents>
  <author>
    <name>Dustin Sallings</name>
    <email>dustin@spy.net</email>
  </author>
  <url>http://github.com/tmaesaka/memcached/commit/923a335bf8613696d658448cd9c48a963924d436</url>
  <id>923a335bf8613696d658448cd9c48a963924d436</id>
  <committed-date>2009-03-26T11:55:26-07:00</committed-date>
  <authored-date>2009-03-09T11:52:25-07:00</authored-date>
  <message>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 &quot;Updating version.&quot;
./version.sh

(and make sure the file is executable)</message>
  <tree>c8f9f6e8fad4dcfb02e79574fb544ba8281766d0</tree>
  <committer>
    <name>Dustin Sallings</name>
    <email>dustin@spy.net</email>
  </committer>
</commit>
