|
a/src/makesrcdist.sh |
|
b/src/makesrcdist.sh |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
# @(#$Id: makesrcdist.sh,v 1.7 2006-01-04 11:33:44 dockes Exp $ (C) 2005 J.F.Dockes
|
2 |
# @(#$Id: makesrcdist.sh,v 1.8 2006-01-21 15:36:05 dockes Exp $ (C) 2005 J.F.Dockes
|
3 |
# A shell-script to make a recoll source distribution
|
3 |
# A shell-script to make a recoll source distribution
|
4 |
|
4 |
|
5 |
#set -x
|
5 |
#set -x
|
6 |
|
6 |
|
7 |
TAR=/usr/bin/tar
|
7 |
TAR=/usr/bin/tar
|
|
... |
|
... |
57 |
# Clean up this dir and copy the dist-specific files
|
57 |
# Clean up this dir and copy the dist-specific files
|
58 |
make clean
|
58 |
make clean
|
59 |
yes | clean.O
|
59 |
yes | clean.O
|
60 |
$TAR chfX - excludefile . | (cd $topdir;$TAR xf -)
|
60 |
$TAR chfX - excludefile . | (cd $topdir;$TAR xf -)
|
61 |
|
61 |
|
|
|
62 |
# Fix the single/multiple page link in the header (we dont deliver the
|
|
|
63 |
# multi-page version and the file name is wrong anyway
|
|
|
64 |
sed -e '/\.\/index\.html/d' -e '/\.\/book\.html/d' \
|
|
|
65 |
< $topdir/doc/user/usermanual.html > $topdir/doc/user/u1.html
|
|
|
66 |
diff $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
|
|
67 |
mv -f $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
|
|
68 |
|
62 |
CVSTAG="RECOLL-$versionforcvs"
|
69 |
CVSTAG="RECOLL-$versionforcvs"
|
63 |
[ $dotag = "yes" ] && cvs tag -F $CVSTAG .
|
70 |
[ $dotag = "yes" ] && cvs tag -F $CVSTAG .
|
64 |
|
71 |
|
65 |
out=recoll-$version.tar.gz
|
72 |
out=recoll-$version.tar.gz
|
66 |
(cd $targetdir ; \
|
73 |
(cd $targetdir ; \
|