--- a/src/makesrcdist.sh
+++ b/src/makesrcdist.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# @(#$Id: makesrcdist.sh,v 1.13 2007-06-26 11:59:42 dockes Exp $ (C) 2005 J.F.Dockes
+# @(#$Id: makesrcdist.sh,v 1.14 2008-10-13 11:46:27 dockes Exp $ (C) 2005 J.F.Dockes
# A shell-script to make a recoll source distribution
#set -x
@@ -75,6 +75,10 @@
CVSTAG="RECOLL_$versionforcvs"
[ $dotag = "yes" ] && (cd ..;cvs tag -F $CVSTAG .)
+# Can't now put ./Makefile in excludefile, gets ignored everywhere. So delete
+# the top Makefile here (its' output by configure on the target system):
+rm -f $topdir/Makefile
+
out=recoll-$version.tar.gz
(cd $targetdir ; \
$TAR chf - recoll-$version | \