Browse Source

doxygen: Determine the module name from the information in .tdescminfo

instead of by directory name.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 269bccc905)
v3.5.13-sru
Slávek Banko 2 years ago
parent
commit
aaf29de976
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668
  1. 8
      doxygen.sh

8
doxygen.sh

@ -117,8 +117,12 @@ fi
### but no recursion either).
###
# top_srcdir="$1" # Already set by options processing
module_name=`basename "$top_srcdir"`
module_name=`echo "$module_name" | awk -F '-' '{print $1}'`
if test -f $top_srcdir/.tdescminfo; then
module_name=`sed -n "s|^Name: ||p" $top_srcdir/.tdescminfo | xargs -r basename`
else
module_name=`basename "$top_srcdir"`
module_name=`echo "$module_name" | awk -F '-' '{print $1}'`
fi
subdir="$2"
if test "x." = "x$subdir" ; then
subdir=""

Loading…
Cancel
Save