Switch to unified view

a/src/makesrcdist.sh b/src/makesrcdist.sh
...
...
31
if test ! -d qtgui;then
31
if test ! -d qtgui;then
32
    echo "Should be executed in the master recoll directory"
32
    echo "Should be executed in the master recoll directory"
33
    exit 1
33
    exit 1
34
fi
34
fi
35
35
36
case $version in
37
*.*.*) relname=recoll-$version;;
38
*) releasename=betarecoll-$version;;
39
esac
40
36
topdir=$targetdir/recoll-$version
41
topdir=$targetdir/releasename
37
if test ! -d $topdir ; then
42
if test ! -d $topdir ; then
38
    mkdir $topdir || exit 1
43
    mkdir $topdir || exit 1
39
else 
44
else 
40
    echo "Removing everything under $topdir Ok ? (y/n)"
45
    echo "Removing everything under $topdir Ok ? (y/n)"
41
    read rep 
46
    read rep 
...
...
98
103
99
# Can't now put ./Makefile in excludefile, gets ignored everywhere. So delete
104
# Can't now put ./Makefile in excludefile, gets ignored everywhere. So delete
100
# the top Makefile here (its' output by configure on the target system):
105
# the top Makefile here (its' output by configure on the target system):
101
rm -f $topdir/Makefile
106
rm -f $topdir/Makefile
102
107
103
out=recoll-$version.tar.gz
108
out=$releasename.tar.gz
104
(cd $targetdir ; \
109
(cd $targetdir ; \
105
    $TAR chf - recoll-$version | \
110
    $TAR chf - $releasename | \
106
        gzip > $out)
111
        gzip > $out)
107
echo "$targetdir/$out created"
112
echo "$targetdir/$out created"