|
a/src/makesrcdist.sh |
|
b/src/makesrcdist.sh |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
|
|
2 |
# @(#$Id: makesrcdist.sh,v 1.7 2006-01-04 11:33:44 dockes Exp $ (C) 2005 J.F.Dockes
|
|
|
3 |
# A shell-script to make a recoll source distribution
|
|
|
4 |
|
2 |
#set -x
|
5 |
#set -x
|
3 |
# A shell-script to make a recoll distribution:
|
|
|
4 |
|
6 |
|
5 |
TAR=/usr/bin/tar
|
7 |
TAR=/usr/bin/tar
|
6 |
|
8 |
|
7 |
targetdir=${targetdir-/tmp}
|
9 |
targetdir=${targetdir-/tmp}
|
8 |
dotag=${dotag-yes}
|
10 |
dotag=${dotag-yes}
|
|
... |
|
... |
24 |
if test $rep = 'y';then
|
26 |
if test $rep = 'y';then
|
25 |
rm -rf $topdir/*
|
27 |
rm -rf $topdir/*
|
26 |
fi
|
28 |
fi
|
27 |
fi
|
29 |
fi
|
28 |
|
30 |
|
|
|
31 |
################################### Documentation
|
|
|
32 |
###### Html doc
|
|
|
33 |
RECOLLDOC=${RECOLLDOC:=doc/user}
|
|
|
34 |
(cd $RECOLLDOC;make) || exit 1
|
|
|
35 |
|
|
|
36 |
###### Text Doc
|
29 |
chmod +w README INSTALL
|
37 |
chmod +w README INSTALL
|
30 |
cat <<EOF > README
|
38 |
cat <<EOF > README
|
31 |
|
39 |
|
32 |
A more complete version of this document can be found at http://www.recoll.org
|
40 |
More documentation can be found in the doc/ directory or at http://www.recoll.org
|
33 |
|
41 |
|
34 |
|
42 |
|
35 |
EOF
|
43 |
EOF
|
36 |
cat <<EOF > INSTALL
|
44 |
cat <<EOF > INSTALL
|
37 |
|
45 |
|
38 |
A more complete version of this document can be found at http://www.recoll.org
|
46 |
More documentation can be found in the doc/ directory or at http://www.recoll.org
|
39 |
|
47 |
|
40 |
|
48 |
|
41 |
EOF
|
49 |
EOF
|
42 |
|
50 |
|
43 |
echo "Dumping html documentation to text files"
|
51 |
echo "Dumping html documentation to text files"
|
44 |
RECOLLDOC=${RECOLLDOC:=$HOME/projets/lesbonscomptes/recoll}
|
52 |
links -dump ${RECOLLDOC}/usermanual.html >> README
|
|
|
53 |
links -dump ${RECOLLDOC}/rcl.install.html >> INSTALL
|
45 |
|
54 |
|
46 |
links -dump ${RECOLLDOC}/index.html >> README
|
|
|
47 |
links -dump ${RECOLLDOC}/credits.html >> README
|
|
|
48 |
links -dump ${RECOLLDOC}/usermanual.html >> README
|
|
|
49 |
links -dump ${RECOLLDOC}/installation.html >> INSTALL
|
|
|
50 |
cvs commit -m '' README INSTALL
|
55 |
cvs commit -m '' README INSTALL
|
51 |
|
56 |
|
52 |
# Clean up this dir and copy the dist-specific files
|
57 |
# Clean up this dir and copy the dist-specific files
|
53 |
make clean
|
58 |
make clean
|
54 |
yes | clean.O
|
59 |
yes | clean.O
|