|
a/src/makesrcdist.sh |
|
b/src/makesrcdist.sh |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
# @(#$Id: makesrcdist.sh,v 1.11 2006-10-09 16:37:08 dockes Exp $ (C) 2005 J.F.Dockes
|
2 |
# @(#$Id: makesrcdist.sh,v 1.12 2006-11-30 13:38:43 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
|
|
... |
|
... |
59 |
cvs commit -m '' README INSTALL
|
59 |
cvs commit -m '' README INSTALL
|
60 |
|
60 |
|
61 |
# Clean up this dir and copy the dist-specific files
|
61 |
# Clean up this dir and copy the dist-specific files
|
62 |
make clean
|
62 |
make clean
|
63 |
yes | clean.O
|
63 |
yes | clean.O
|
|
|
64 |
rm -f lib/*.dep
|
64 |
$TAR chfX - excludefile . | (cd $topdir;$TAR xf -)
|
65 |
$TAR chfX - excludefile . | (cd $topdir;$TAR xf -)
|
65 |
|
66 |
|
66 |
# Fix the single/multiple page link in the header (we dont deliver the
|
67 |
# Fix the single/multiple page link in the header (we dont deliver the
|
67 |
# multi-page version and the file name is wrong anyway
|
68 |
# multi-page version and the file name is wrong anyway
|
68 |
sed -e '/\.\/index\.html/d' -e '/\.\/book\.html/d' \
|
69 |
sed -e '/\.\/index\.html/d' -e '/\.\/book\.html/d' \
|