Skip to content

Commit a6a0c47

Browse files
committed
docs/docs/reference/: Update for Doxygen >= 1.8.16
* docs/docs/reference/meson.build: 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/docs/reference/Doxyfile.in: Remove PERL_PATH and MSCGEN_PATH. Doxygen since version 1.8.0 does not use them.
1 parent 0aa9ed9 commit a6a0c47

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/docs/reference/Doxyfile.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,12 +296,10 @@ GENERATE_TAGFILE = "reference/libsigc++-@SIGCXX_API_VERSION@.tag"
296296
ALLEXTERNALS = NO
297297
EXTERNAL_GROUPS = NO
298298
EXTERNAL_PAGES = YES
299-
PERL_PATH = @PERL@
300299
#---------------------------------------------------------------------------
301300
# Configuration options related to the dot tool
302301
#---------------------------------------------------------------------------
303302
CLASS_DIAGRAMS = YES
304-
MSCGEN_PATH =
305303
DIA_PATH =
306304
HIDE_UNDOC_RELATIONS = NO
307305
HAVE_DOT = YES

docs/docs/reference/meson.build

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# docs/docs/reference
22

33
# Input: project_build_root, project_source_root, sigcxx_pcname,
4-
# sigcxx_api_version, perl, build_documentation, source_h_files,
4+
# sigcxx_api_version, build_documentation, source_h_files,
55
# hg_ccg_basenames, install_datadir, python3, doc_reference
66
# Output: install_docdir, install_devhelpdir, book_name
77

@@ -24,10 +24,13 @@ foreach module : tag_file_modules
2424
htmlrefdir = htmlrefpub
2525
endif
2626
doxygen_tagfiles += ' "' + doxytagfile + '=' + htmlrefpub + '"'
27-
if not htmlrefdir.endswith('/')
28-
htmlrefdir += '/'
29-
endif
27+
28+
# Doxygen <= 1.8.15
3029
docinstall_flags += ['-l', doxytagfile.split('/')[-1] + '@' + htmlrefdir]
30+
if htmlrefpub != htmlrefdir
31+
# Doxygen >= 1.8.16
32+
docinstall_flags += ['-l', 's@' + htmlrefpub + '@' + htmlrefdir]
33+
endif
3134
endif
3235
endforeach
3336

@@ -44,7 +47,6 @@ doc_conf_data.set('abs_top_builddir', project_build_root)
4447
doc_conf_data.set('abs_top_srcdir', project_source_root)
4548
doc_conf_data.set('SIGCXX_API_VERSION', sigcxx_api_version)
4649
doc_conf_data.set('DOXYGEN_TAGFILES', doxygen_tagfiles)
47-
doc_conf_data.set('PERL', perl.found() ? perl.path() : '')
4850

4951
configure_file(
5052
input: 'Doxyfile.in',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy