Skip to content

Commit f76461f

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

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/reference/Doxyfile.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,10 @@ GENERATE_TAGFILE = "reference/libsigc++-@SIGCXX_API_VERSION@.tag"
300300
ALLEXTERNALS = NO
301301
EXTERNAL_GROUPS = NO
302302
EXTERNAL_PAGES = YES
303-
PERL_PATH = @PERL@
304303
#---------------------------------------------------------------------------
305304
# Configuration options related to the dot tool
306305
#---------------------------------------------------------------------------
307306
CLASS_DIAGRAMS = YES
308-
MSCGEN_PATH =
309307
DIA_PATH =
310308
HIDE_UNDOC_RELATIONS = NO
311309
HAVE_DOT = YES

docs/reference/meson.build

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

33
# Input: built_files_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
# built_h_files, install_datadir, python3, doc_reference,
66
# built_h_file_targets
77
# Output: install_docdir, install_devhelpdir
@@ -23,10 +23,13 @@ foreach module : tag_file_modules
2323
htmlrefdir = htmlrefpub
2424
endif
2525
doxygen_tagfiles += ' "' + doxytagfile + '=' + htmlrefpub + '"'
26-
if not htmlrefdir.endswith('/')
27-
htmlrefdir += '/'
28-
endif
26+
27+
# Doxygen <= 1.8.15
2928
docinstall_flags += ['-l', doxytagfile.split('/')[-1] + '@' + htmlrefdir]
29+
if htmlrefpub != htmlrefdir
30+
# Doxygen >= 1.8.16
31+
docinstall_flags += ['-l', 's@' + htmlrefpub + '@' + htmlrefdir]
32+
endif
3033
endif
3134
endforeach
3235

@@ -43,7 +46,6 @@ doc_conf_data.set('abs_top_builddir', built_files_root)
4346
doc_conf_data.set('abs_top_srcdir', project_source_root)
4447
doc_conf_data.set('SIGCXX_API_VERSION', sigcxx_api_version)
4548
doc_conf_data.set('DOXYGEN_TAGFILES', doxygen_tagfiles)
46-
doc_conf_data.set('PERL', perl.found() ? perl.path() : '')
4749

4850
configure_file(
4951
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