Revision 59c83fbe
Von Christian Wittmer vor fast 2 Jahren hinzugefügt
scripts/build_doc.sh | ||
---|---|---|
13 | 13 |
|
14 | 14 |
doc=${PWD}/doc |
15 | 15 |
|
16 |
if [[ ! -d doc/build/dobudish ]]; then |
|
17 |
echo " ERROR: looks like 'doc/build/dobudish' DIR is missing" |
|
18 |
echo " - You need to get 'dobudish-nojre-1.1.4.zip' from http://code.google.com/p/dobudish/downloads/list" |
|
19 |
echo " - Download and unpack ( unzip dobudish-nojre-1.1.4.zip -d doc/build )" |
|
20 |
echo " - create dobudish symlink ( ln -sf dobudish-1.1.4 doc/build/dobudish )" |
|
21 |
fi |
|
22 |
|
|
16 | 23 |
html=1 |
17 | 24 |
pdf=1 |
18 | 25 |
images=1 |
... | ... | |
36 | 43 |
done |
37 | 44 |
fi |
38 | 45 |
|
39 |
dobudish=$(ls -d doc/build/dobudish* 2> /dev/null) |
|
40 |
|
|
41 |
if [[ -z $dobudish ]] || [[ ! -d ${dobudish} ]]; then |
|
42 |
echo "There's no dobudish directory inside doc/build OR more than one file / dir starting with dobudish (hint: zip file downloaded there?)." |
|
43 |
exit 1 |
|
44 |
fi |
|
45 |
|
|
46 |
cd ${dobudish} |
|
46 |
cd doc/build/dobudish |
|
47 | 47 |
|
48 | 48 |
base=documents/dokumentation |
49 | 49 |
if [[ ! -d $base ]]; then |
Auch abrufbar als: Unified diff
scripts/build_doc.sh: Verbesserung im Fehlerfall bei fehlendem doc/build/dobudish