-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathgen_doxygen
executable file
·36 lines (26 loc) · 1.43 KB
/
gen_doxygen
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
33
34
35
36
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# (c) Copyright 2004 - 2022 Xilinx, Inc. All rights reserved.
[ -e "./scripts/guess.sh" ] && source "./scripts/guess.sh"
pushd sockapi-ts
help() {
cat <<EOF
This is a wrapper script which builds the autogenerated part of the
Test Environment documentation.
Usage:
$ gen_doxygen
Documentation will be located at sockapi-ts/doc/html/
EOF
exit 0
}
[ "x$1" = "x--help" ] || [ "x$1" = "x-h" ] && help
if test -z "${TE_BASE}" ; then
echo "TE_BASE environment variable must be set" >&2
exit 1
fi
doxygen > /dev/null
echo "" >&2
echo "###########################################" >&2
echo "## See sockapi-ts/doc/html/index.html ######" >&2
echo "###########################################" >&2
popd