summaryrefslogtreecommitdiff
path: root/skeletonmm
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2020-06-15 16:23:02 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2020-06-15 16:23:02 +0200
commit8322b7bdf805c21fdf6e39d0b241b6a7e0cf74f0 (patch)
treea581d2bd4c581faa60e8822aa1e39176b9d4bcab /skeletonmm
parent0f7f6e48fd7a07f21c6f4edc61f254546f9d484a (diff)
downloadmm-common-8322b7bdf805c21fdf6e39d0b241b6a7e0cf74f0.tar.gz
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.
Diffstat (limited to 'skeletonmm')
-rw-r--r--skeletonmm/doc/reference/meson.build15
1 files changed, 15 insertions, 0 deletions
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