[maven-release-plugin] prepare for next development iteration
[cql-java-moved-to-github.git] / mkdist
diff --git a/mkdist b/mkdist
index fc5996d..fb065f8 100755 (executable)
--- a/mkdist
+++ b/mkdist
@@ -1,7 +1,6 @@
 #!/bin/sh
 
-# mkdist - make a distribution of the cql-java software
-# $Id: mkdist,v 1.1 2002-11-03 17:37:14 mike Exp $
+# mkdist - make a distribution of the CQL-Java software
 
 version=`cat VERSION`
 distdir=cql-java-$version
@@ -12,10 +11,11 @@ trap "rm -rf $tmpdir" 1 2 15        # 0
 cp -rp . $tmpdir
 cd $tmpdir
 find . \( -name CVS -o -name .cvsignore \) -print | xargs rm -rf
-rm mkdist
-( cd src/org/z3950/zing/cql && make && make clean )
-( cd src/org/z3950/zing/cql && make docs )
+rm -rf archive mkdist etc/xslt .git target
+( cd src/main/java/org/z3950/zing/cql && make && make clean )
+( cd docs && make )
+( cd test/regression && make distclean )
 cd ..
 tar cf - $distdir | gzip -9v > $distfile
 rm -rf $tmpdir
-echo "Made $distfile"
+echo "Made /tmp/$distfile"