diff options
-rwxr-xr-x | doxygen.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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="" |