|
a/website/copydocs |
|
b/website/copydocs |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
|
|
2 |
set -x
|
|
|
3 |
#docdir=/home/dockes/projets/fulltext/recoll/src/doc/user/
|
|
|
4 |
docdir=/Users/dockes/projets/fulltext/recoll/src/doc/user/
|
2 |
|
5 |
|
3 |
docdir=/home/dockes/projets/fulltext/recoll/src/doc/user/
|
|
|
4 |
|
|
|
5 |
(cd $docdir;make) || exit 1
|
6 |
#(cd $docdir;make) || exit 1
|
6 |
|
7 |
|
7 |
test -d usermanual || mkdir usermanual || exit 1
|
8 |
test -d usermanual || mkdir usermanual || exit 1
|
8 |
cd usermanual
|
9 |
cd usermanual
|
9 |
|
10 |
|
10 |
thisdir=`pwd`
|
11 |
thisdir=`pwd`
|
11 |
(cd $docdir; find . -name '*.html' | cpio -p $thisdir)
|
12 |
(cd $docdir; find . -name '*.html' -print | cpio -vp $thisdir)
|
12 |
cp $docdir/docbook.css .
|
13 |
cp $docdir/docbook.css .
|
13 |
# 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
|
14 |
# lazy to check if this can be changed
|
15 |
# lazy to check if this can be changed
|
15 |
cp usermanual.html book.html
|
16 |
cp usermanual.html book.html
|
16 |
cp usermanual.html index.html
|
17 |
cp usermanual.html index.html
|