-
Notifications
You must be signed in to change notification settings - Fork 7
/
make_docs.sh
executable file
·32 lines (28 loc) · 1.23 KB
/
make_docs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash -e
echo "------------------------------------------------------------"
echo "| Install openzwave in tmp |"
echo "------------------------------------------------------------"
python setup-lib.py install --root=build/tmp
python setup-api.py install --root=build/tmp
cd docs
rm -Rf _build
echo "-----------------------------------------------------------------"
echo "| Generate txt docs |"
echo "-----------------------------------------------------------------"
make text
cp _build/text/README.txt ../
cp _build/text/INSTALL_REPO.txt ../
cp _build/text/INSTALL_MAN.txt ../
cp _build/text/INSTALL_ARCH.txt ../
cp _build/text/COPYRIGHT.txt ../
cp _build/text/DEVEL.txt ../
cp _build/text/EXAMPLES.txt ../
echo "-----------------------------------------------------------------"
echo "| Generate html docs |"
echo "-----------------------------------------------------------------"
make html
echo "-----------------------------------------------------------------"
echo "| Generate joomla docs |"
echo "-----------------------------------------------------------------"
make joomla
cd ..