From 045057fe591770257f7543342845cf213ed87804 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Wed, 16 Mar 2022 09:03:48 +0900 Subject: [PATCH] doc: install HTML file for index page This commit adds HTML file for index page. Signed-off-by: Takashi Sakamoto --- doc/index.html.in | 19 +++++++++++++++++++ doc/meson.build | 9 +++++++++ 2 files changed, 28 insertions(+) create mode 100644 doc/index.html.in diff --git a/doc/index.html.in b/doc/index.html.in new file mode 100644 index 0000000..f7b4cac --- /dev/null +++ b/doc/index.html.in @@ -0,0 +1,19 @@ + + + +Reference manuals for libraries in alsa-gobject version @VERSION@ + + + + +

Reference manuals for libraries in alsa-gobject version @VERSION@

+ + + + diff --git a/doc/meson.build b/doc/meson.build index f1f6c4e..042e2a8 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -3,6 +3,15 @@ conf.set('VERSION', meson.project_version()) doc_dir = join_paths(get_option('datadir'), 'doc', meson.project_name()) +doc_index = configure_file( + input: 'index.html.in', + output: 'index.html', + configuration: conf, +) +install_data(doc_index, + install_dir: doc_dir, +) + dependency('gi-docgen', version: '>= 2021.8', fallback: ['gi-docgen', 'dummy_dep'], -- 2.47.3