[gtkmm/gtkmm-3-24] docs/reference/meson.build: Update for Doxygen >= 1.8.16
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/gtkmm-3-24] docs/reference/meson.build: Update for Doxygen >= 1.8.16
- Date: Mon, 15 Jun 2020 14:41:20 +0000 (UTC)
commit 8785b8c849707f40e3cf81a4535a2f5f5ffcb346
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Mon Jun 15 16:05:30 2020 +0200
docs/reference/meson.build: Update for Doxygen >= 1.8.16
Doxygen 1.8.16 and later does not store tag file names in the html files.
This requires changes in meson.build and in doc-install.pl (in mm-common).
Otherwise references to other modules won't be updated in the html files
when they are installed.
docs/reference/meson.build | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 979798f6..1e9a7b1e 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -28,11 +28,26 @@ foreach module : tag_file_modules
elif htmlrefdir == ''
htmlrefdir = htmlrefpub
endif
+ if htmlrefpub.startswith('/')
+ htmlrefpub = 'file://' + htmlrefpub
+ endif
+ if htmlrefdir.startswith('/')
+ htmlrefdir = 'file://' + htmlrefdir
+ endif
doxygen_tagfiles += ' "' + doxytagfile + '=' + htmlrefpub + '"'
+
if not htmlrefdir.endswith('/')
htmlrefdir += '/'
endif
+ if not htmlrefpub.endswith('/')
+ htmlrefpub += '/'
+ endif
+ # Doxygen <= 1.8.15
docinstall_flags += ['-l', doxytagfile.split('/')[-1] + '@' + htmlrefdir]
+ if htmlrefpub != htmlrefdir
+ # Doxygen >= 1.8.16
+ docinstall_flags += ['-l', 's@' + htmlrefpub + '@' + htmlrefdir]
+ endif
endif
endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]