|
a/src/makesrcdist.sh |
|
b/src/makesrcdist.sh |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
# @(#$Id: makesrcdist.sh,v 1.13 2007-06-26 11:59:42 dockes Exp $ (C) 2005 J.F.Dockes
|
2 |
# @(#$Id: makesrcdist.sh,v 1.14 2008-10-13 11:46:27 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
|
|
... |
|
... |
73 |
|
73 |
|
74 |
# We tag .. as there is the 'packaging/' directory in there
|
74 |
# We tag .. as there is the 'packaging/' directory in there
|
75 |
CVSTAG="RECOLL_$versionforcvs"
|
75 |
CVSTAG="RECOLL_$versionforcvs"
|
76 |
[ $dotag = "yes" ] && (cd ..;cvs tag -F $CVSTAG .)
|
76 |
[ $dotag = "yes" ] && (cd ..;cvs tag -F $CVSTAG .)
|
77 |
|
77 |
|
|
|
78 |
# Can't now put ./Makefile in excludefile, gets ignored everywhere. So delete
|
|
|
79 |
# the top Makefile here (its' output by configure on the target system):
|
|
|
80 |
rm -f $topdir/Makefile
|
|
|
81 |
|
78 |
out=recoll-$version.tar.gz
|
82 |
out=recoll-$version.tar.gz
|
79 |
(cd $targetdir ; \
|
83 |
(cd $targetdir ; \
|
80 |
$TAR chf - recoll-$version | \
|
84 |
$TAR chf - recoll-$version | \
|
81 |
gzip > $out)
|
85 |
gzip > $out)
|
82 |
echo "$targetdir/$out created"
|
86 |
echo "$targetdir/$out created"
|