Skip to content

Commit c27ebb4

Browse files
committed
(:automated_merge:) Merge remote-tracking branch 'libsigcplusplus-original/master'
2 parents d2f2de9 + 4e68e17 commit c27ebb4

File tree

7 files changed

+18
-15
lines changed

7 files changed

+18
-15
lines changed

.github/workflows/publish-docs.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
name: Publish docs
77

8-
# 2024-12-12: ubuntu-latest = ubuntu-22.04
8+
# 2025-02-05: ubuntu-latest = ubuntu-24.04
99
# See https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
1010
on:
1111
# Runs on pushes targeting the default branch
@@ -39,10 +39,7 @@ jobs:
3939
# Prevent blocking apt install on a question during configuring of tzdata.
4040
export ENV DEBIAN_FRONTEND=noninteractive
4141
sudo apt update
42-
sudo apt install libxml2-utils docbook5-xml docbook-xsl mm-common g++ ninja-build python3-setuptools python3-pip --yes
43-
# Ubuntu 22.04 contains meson 0.61.2, but libsigc++ requires meson >= 0.62.0.
44-
# Install it with pip instead of apt.
45-
sudo pip install "meson>=0.62.0"
42+
sudo apt install libxml2-utils docbook5-xml docbook-xsl mm-common g++ meson ninja-build python3-setuptools python3-pip --yes
4643
meson setup -Dbuild-documentation=true -Dbuild-examples=false -Dbuild-tests=false _build
4744
meson compile -C _build
4845
- name: Collect Documentation
@@ -56,6 +53,7 @@ jobs:
5653
# Move generated documentation.
5754
mv _build/docs/docs/manual/html _publish/manual
5855
mv _build/docs/docs/reference/html _publish/reference
56+
mv _build/docs/docs/reference/*.tag _publish/reference/html
5957
- name: Setup Pages
6058
uses: actions/configure-pages@v5
6159
- name: Build with Jekyll

docs/docs/manual/meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ custom_target('manual_html',
6161
],
6262
build_by_default: true,
6363
install: true,
64-
install_dir: install_tutorialdir
64+
install_dir: install_tutorialdir,
65+
install_tag: 'doc',
6566
)
6667

6768
if can_parse_and_validate

docs/docs/reference/Doxyfile.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ REFERENCES_LINK_SOURCE = YES
141141
SOURCE_TOOLTIPS = YES
142142
USE_HTAGS = NO
143143
VERBATIM_HEADERS = NO
144-
CLANG_ASSISTED_PARSING = NO
145-
CLANG_OPTIONS =
146144
#---------------------------------------------------------------------------
147145
# Configuration options related to the alphabetical class index
148146
#---------------------------------------------------------------------------

docs/docs/reference/meson.build

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ tag_file = custom_target('html_and_tag',
102102
build_by_default: build_documentation,
103103
install: true,
104104
install_dir: install_reference_docdir,
105+
install_tag: 'doc',
105106
)
106107

107108
devhelp_file = custom_target('devhelp',
@@ -125,7 +126,8 @@ meson.add_install_script(
125126
devhelp_file.full_path(),
126127
install_devhelpdir,
127128
install_reference_docdir / 'html',
128-
docinstall_flags
129+
docinstall_flags,
130+
install_tag: 'doc',
129131
)
130132

131133
# Distribute built files and files copied by mm-common-get.

examples/meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ foreach ex : examples
2323
cpp_args: '-DSIGCXX_DISABLE_DEPRECATED=1',
2424
dependencies: sigcxx_own_dep,
2525
implicit_include_directories: false,
26-
build_by_default: build_examples
26+
build_by_default: build_examples,
27+
install: false,
2728
)
2829
endforeach

meson.build

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ sigcxx_libversion = '@0@.@1@.@2@'.format(
3333
libtool_soversion[1])
3434
darwin_versions = [libtool_soversion[0] + 1, '@0@.@1@'.format(libtool_soversion[0] + 1, libtool_soversion[1])]
3535

36-
# Use these instead of meson.source_root() and meson.build_root() in subdirectories.
37-
# source_root() and build_root() are not useful, if this is a subproject.
38-
project_source_root = meson.current_source_dir()
39-
project_build_root = meson.current_build_dir()
36+
# Source and build root directories of the current (sub)project.
37+
project_source_root = meson.project_source_root()
38+
project_build_root = meson.project_build_root()
4039

4140
cpp_compiler = meson.get_compiler('cpp')
4241
cpp_compiler_id = cpp_compiler.get_id()
@@ -252,7 +251,9 @@ configure_file(
252251
input: sigcxxconfig_h_meson,
253252
output: 'sigc++config.h',
254253
configuration: pkg_conf_data,
254+
install: true,
255255
install_dir: install_includeconfigdir,
256+
install_tag: 'devel',
256257
)
257258

258259
#subdir('cmake')

tests/meson.build

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ foreach ex : test_programs
7070
dependencies: sigcxx_own_dep,
7171
implicit_include_directories: false,
7272
build_by_default: build_tests,
73+
install: false,
7374
)
7475

7576
# If exe_file is a test program, it is built by default unconditionally.
@@ -93,7 +94,8 @@ if can_benchmark
9394
exe_file = executable(ex_name, ex_sources,
9495
dependencies: [sigcxx_own_dep, benchmark_dep],
9596
implicit_include_directories: false,
96-
build_by_default: do_benchmark
97+
build_by_default: do_benchmark,
98+
install: false,
9799
)
98100

99101
if do_benchmark

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