author | Wuzzy <almikes@aol.com> |
Wed, 20 Apr 2016 18:42:40 +0200 | |
changeset 12031 | 0b0578c25470 |
parent 11515 | 4dd77731453b |
permissions | -rwxr-xr-x |
6203 | 1 |
#!/bin/sh |
2 |
||
3 |
||
4 |
if [ -d QTfrontend ]; then |
|
5 |
cd QTfrontend |
|
6 |
else |
|
7 |
if [ -d ../QTfrontend ]; then |
|
8 |
cd ../QTfrontend |
|
9 |
else |
|
10 |
echo 'abort: Directory "QTfrontend" not found!' >&2 |
|
11 |
exit 1 |
|
12 |
fi |
|
13 |
fi |
|
14 |
||
15 |
if [ -z "$1" ]; then |
|
16 |
OUTPUT_DIRECTORY="../doc/QTfrontend" |
|
17 |
else |
|
18 |
OUTPUT_DIRECTORY="$1" |
|
19 |
fi |
|
20 |
||
21 |
echo "Creating documentation for Qt-Frontend in $OUTPUT_DIRECTORY ..." |
|
22 |
||
23 |
if [ $(which hg) ]; then |
|
24 |
||
25 |
branch=$(hg identify -b) |
|
26 |
rev=$(hg identify -rdefault -i) |
|
27 |
||
11515
4dd77731453b
update some old google code links in the code/etc. thanks Wuzzy for the heads-up
sheepluva
parents:
10667
diff
changeset
|
28 |
export PROJECT_NUMBER="${branch} branch, ${rev}" |
6203 | 29 |
export OUTPUT_DIRECTORY |
30 |
||
31 |
fi |
|
32 |
||
33 |
doxygen |
|
34 |
exit $? |