|
a/src/makesrcdist.sh |
|
b/src/makesrcdist.sh |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
# @(#$Id: makesrcdist.sh,v 1.14 2008-10-13 11:46:27 dockes Exp $ (C) 2005 J.F.Dockes
|
2 |
# @(#$Id: makesrcdist.sh,v 1.15 2008-11-21 16:37:25 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
|
|
... |
|
... |
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 distclean
|
62 |
make distclean
|
63 |
yes | clean.O
|
63 |
yes | clean.O
|
64 |
rm -f lib/*.dep
|
64 |
rm -f lib/*.dep
|
|
|
65 |
# Possibly clean up the cmake stuff
|
|
|
66 |
cd kde/kioslave/recoll/ || exit 1
|
|
|
67 |
rm -rf CMakeCache.txt CMakeFiles/ CMakeTmp/ CPack* CTestTestfile.cmake cmake_* *automoc* lib
|
|
|
68 |
|
65 |
$TAR chfX - excludefile . | (cd $topdir;$TAR xf -)
|
69 |
$TAR chfX - excludefile . | (cd $topdir;$TAR xf -)
|
66 |
|
70 |
|
67 |
# Fix the single/multiple page link in the header (we dont deliver the
|
71 |
# Fix the single/multiple page link in the header (we dont deliver the
|
68 |
# multi-page version and the file name is wrong anyway
|
72 |
# multi-page version and the file name is wrong anyway
|
69 |
sed -e '/\.\/index\.html/d' -e '/\.\/book\.html/d' \
|
73 |
sed -e '/\.\/index\.html/d' -e '/\.\/book\.html/d' \
|