|
a/website/copydocs |
|
b/website/copydocs |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
set -x
|
2 |
set -x
|
3 |
docdir=/home/dockes/projets/fulltext/recoll/src/doc/user/
|
3 |
docdir=/home/dockes/projets/fulltext/recoll/src/doc/user/
|
4 |
#docdir=/Users/dockes/projets/fulltext/recoll/src/doc/user/
|
|
|
5 |
|
4 |
|
6 |
#(cd $docdir;make) || exit 1
|
5 |
#(cd $docdir;make) || exit 1
|
7 |
|
6 |
|
8 |
test -d usermanual || mkdir usermanual || exit 1
|
7 |
test -d usermanual || mkdir usermanual || exit 1
|
9 |
cd usermanual
|
8 |
cd usermanual
|
10 |
|
9 |
|
11 |
thisdir=`pwd`
|
10 |
thisdir=`pwd`
|
12 |
(cd $docdir; find . -name '*.html' -print | cpio -vudp $thisdir)
|
11 |
(cd $docdir; find . -name templates -prune -o -print | cpio -vudp $thisdir)
|
13 |
cp $docdir/docbook.css .
|
12 |
|
14 |
cp $docdir/docbook-xsl.css .
|
|
|
15 |
cp $docdir/usermanual.pdf recoll_user_manual.pdf
|
13 |
mv usermanual.pdf recoll_user_manual.pdf
|
16 |
# The freebsd tool chain generates a link to book.html in the index. Too
|
14 |
# The freebsd tool chain generates a link to book.html in the index. Too
|
17 |
# lazy to check if this can be changed
|
15 |
# lazy to check if this can be changed
|
18 |
cp usermanual.html book.html
|
16 |
cp -p usermanual.html book.html
|
19 |
#cp usermanual.html index.html
|
17 |
#cp usermanual.html index.html
|