From d9fa5aee8421bff1d3945e204c8f0328a54f0cee Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 15 Jan 2019 11:56:14 +0100 Subject: [PATCH] Generate documentation html index file from doc/index.html.in for autotools and cmake Signed-off-by: Ralf Habacker --- configure.ac | 1 + doc/CMakeLists.txt | 2 +- cmake/doc/index.html.cmake => doc/index.html.in | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) rename cmake/doc/index.html.cmake => doc/index.html.in (91%) diff --git a/configure.ac b/configure.ac index b358e26e6..3b07e0c92 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 7bb610fae..f0fc838f3 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -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 diff --git a/cmake/doc/index.html.cmake b/doc/index.html.in similarity index 91% rename from cmake/doc/index.html.cmake rename to doc/index.html.in index ffb1f0fb2..feca9fc8d 100644 --- a/cmake/doc/index.html.cmake +++ b/doc/index.html.in @@ -4,7 +4,7 @@

D-Bus Documentation Index

-

Version @DBUS_VERSION_STRING@

+

Version @DBUS_VERSION@

@@ -36,6 +36,7 @@ application manuals D-Bus Test Plan

+libdbus API Documentation
D-Bus Daemon manual -- 2.47.3