Generate documentation html index file from doc/index.html.in for autotools and cmake

Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
This commit is contained in:
Ralf Habacker 2019-01-15 11:56:14 +01:00
parent 3bf97922bd
commit d9fa5aee84
3 changed files with 4 additions and 2 deletions

View file

@ -1738,6 +1738,7 @@ doc/dbus-send.1.xml
doc/dbus-test-tool.1.xml
doc/dbus-update-activation-environment.1.xml
doc/dbus-uuidgen.1.xml
doc/index.html
dbus-1.pc
dbus-1-uninstalled.pc
cmake/DBus1Config.cmake:cmake/DBus1Config.pkgconfig.in

View file

@ -149,7 +149,7 @@ docbook(${CMAKE_CURRENT_BINARY_DIR}/dbus-update-activation-environment.1.xml htm
#
# handle html index file
#
configure_file(../cmake/doc/index.html.cmake ${CMAKE_CURRENT_BINARY_DIR}/index.html )
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)
set (EXTRA_DIST

View file

@ -4,7 +4,7 @@
</head>
<body>
<h1>D-Bus Documentation Index</h1>
<p>Version @DBUS_VERSION_STRING@</p>
<p>Version @DBUS_VERSION@</p>
<table>
<tr>
@ -36,6 +36,7 @@ application manuals
<a href="dbus-test-plan.html">D-Bus Test Plan</a>
<br>
<br>
<a href="api/index.html">libdbus API Documentation</a>
</td>
<td valign=top>
<a href="dbus-daemon.1.html">D-Bus Daemon manual</a>