From 8322b7bdf805c21fdf6e39d0b241b6a7e0cf74f0 Mon Sep 17 00:00:00 2001 From: Kjell Ahlstedt Date: Mon, 15 Jun 2020 16:23:02 +0200 Subject: util/doc-install.pl: Update for Doxygen >= 1.8.16 Doxygen 1.8.16 and later does not store tag file names in the html files. * skeletonmm/doc/reference/meson.build: * util/doc-install.pl: Modify so that references to other modules are still updated in the html files when they are installed. --- skeletonmm/doc/reference/meson.build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'skeletonmm') diff --git a/skeletonmm/doc/reference/meson.build b/skeletonmm/doc/reference/meson.build index 677e9ef..d8db2c5 100644 --- a/skeletonmm/doc/reference/meson.build +++ b/skeletonmm/doc/reference/meson.build @@ -23,11 +23,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 -- cgit v1.2.1