Commit 365866ea authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

New version of doxygen do not create main.html file

  In this case, reference index.html in link.
parent 43eaf715
......@@ -60,7 +60,11 @@ else
else
docPrefix=`$PKG_CONFIG $PKGNAME --variable=doxygendocdir`
fi
AC_SUBST([$1_LINK], [$docPrefix/main.html])
if [[ -f $docPrefix/main.html ]]; then
AC_SUBST([$1_LINK], [$docPrefix/main.html])
else
AC_SUBST([$1_LINK], [$docPrefix/index.html])
fi
AC_MSG_RESULT([yes])
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment