|
a/src/makesrcdist.sh |
|
b/src/makesrcdist.sh |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
# @(#$Id: makesrcdist.sh,v 1.8 2006-01-21 15:36:05 dockes Exp $ (C) 2005 J.F.Dockes
|
2 |
# @(#$Id: makesrcdist.sh,v 1.9 2006-02-01 07:12:14 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
|
|
... |
|
... |
64 |
sed -e '/\.\/index\.html/d' -e '/\.\/book\.html/d' \
|
64 |
sed -e '/\.\/index\.html/d' -e '/\.\/book\.html/d' \
|
65 |
< $topdir/doc/user/usermanual.html > $topdir/doc/user/u1.html
|
65 |
< $topdir/doc/user/usermanual.html > $topdir/doc/user/u1.html
|
66 |
diff $topdir/doc/user/u1.html $topdir/doc/user/usermanual.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
|
67 |
mv -f $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
68 |
|
68 |
|
|
|
69 |
# We tag .. as there is the 'packaging/' directory in there
|
69 |
CVSTAG="RECOLL-$versionforcvs"
|
70 |
CVSTAG="RECOLL-$versionforcvs"
|
70 |
[ $dotag = "yes" ] && cvs tag -F $CVSTAG .
|
71 |
[ $dotag = "yes" ] && (cd ..;cvs tag -F $CVSTAG .)
|
71 |
|
72 |
|
72 |
out=recoll-$version.tar.gz
|
73 |
out=recoll-$version.tar.gz
|
73 |
(cd $targetdir ; \
|
74 |
(cd $targetdir ; \
|
74 |
$TAR chf - recoll-$version | \
|
75 |
$TAR chf - recoll-$version | \
|
75 |
gzip > $out)
|
76 |
gzip > $out)
|