|
a/src/makesrcdist.sh |
|
b/src/makesrcdist.sh |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
# @(#$Id: makesrcdist.sh,v 1.10 2006-09-23 13:13:49 dockes Exp $ (C) 2005 J.F.Dockes
|
2 |
# @(#$Id: makesrcdist.sh,v 1.11 2006-10-09 16:37:08 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
|
|
... |
|
... |
69 |
< $topdir/doc/user/usermanual.html > $topdir/doc/user/u1.html
|
69 |
< $topdir/doc/user/usermanual.html > $topdir/doc/user/u1.html
|
70 |
diff $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
70 |
diff $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
71 |
mv -f $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
71 |
mv -f $topdir/doc/user/u1.html $topdir/doc/user/usermanual.html
|
72 |
|
72 |
|
73 |
# We tag .. as there is the 'packaging/' directory in there
|
73 |
# We tag .. as there is the 'packaging/' directory in there
|
74 |
CVSTAG="RECOLL-$versionforcvs"
|
74 |
CVSTAG="RECOLL_$versionforcvs"
|
75 |
[ $dotag = "yes" ] && (cd ..;cvs tag -F $CVSTAG .)
|
75 |
[ $dotag = "yes" ] && (cd ..;cvs tag -F $CVSTAG .)
|
76 |
|
76 |
|
77 |
out=recoll-$version.tar.gz
|
77 |
out=recoll-$version.tar.gz
|
78 |
(cd $targetdir ; \
|
78 |
(cd $targetdir ; \
|
79 |
$TAR chf - recoll-$version | \
|
79 |
$TAR chf - recoll-$version | \
|