Merged silc_1_0_branch to trunk.
[silc.git] / distdir / post-process-dist
diff --git a/distdir/post-process-dist b/distdir/post-process-dist
new file mode 100644 (file)
index 0000000..f6e4f38
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+distribution=$1
+dist_version=$2
+package=$3
+distdir=$4
+
+# Remove all CVS directories, as some may be left when we put directories
+# in EXTRA_DIST or 'include' them in distribution.
+
+if test -d $distdir; then
+  rm -rf `find $distdir -name CVS`
+fi