Index: build.xml
===================================================================
--- build.xml	(revision 544051)
+++ build.xml	(working copy)
@@ -285,13 +285,19 @@
     description="--> Generates the .tar.gz and .zip source distributions"/>
 
   <!-- ================================================================== -->
-  <!-- same as package-all-src. it is just here for compatibility.        -->
+  <!-- Same as package-all-src. Also calculates MD5 checksums.            -->
   <!-- ================================================================== -->
   <!--                                                                    -->
   <!-- ================================================================== -->
   <target name="dist-src" depends="package-all-src"/>
 
-  <target name="dist-all" depends="dist, dist-src"/>
+  <target name="dist-all" depends="dist, dist-src"
+	description="--> Generates the .tar.gz and .zip source distributions and calculates MD5 checksums">
+    <!-- calculate md5 checksums -->
+	<checksum forceOverwrite="yes" algorithm="MD5" fileext=".md5">
+	  <fileset dir="${dist.dir}" excludes="**/*.md5"/>
+	</checksum>
+  </target>
 
   <!-- ================================================================== -->
   <!-- Build the JavaCC files into the source tree                        -->
