The link for api documentation is now only inserted into the html
overview file when it is built.
#
# handle html index file
#
+if(DBUS_ENABLE_DOXYGEN_DOCS)
+ set(DBUS_APIDOC_LINK "<a href=\"api/html/index.html\">libdbus API Documentation</a>")
+else()
+ set(DBUS_APIDOC_LINK "")
+endif()
configure_file(index.html.in ${CMAKE_CURRENT_BINARY_DIR}/index.html)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/index.html DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/dbus)
<a href="dbus-test-plan.html">D-Bus Test Plan</a>
<br>
<br>
-<a href="api/index.html">libdbus API Documentation</a>
+@DBUS_APIDOC_LINK@
</td>
<td valign=top>
<a href="dbus-daemon.1.html">D-Bus Daemon manual</a>