Skip to content

Commit a831266

Browse files
committed
Meson build: Add install_tag keyword argument
1 parent fe3af02 commit a831266

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

docs/manual/meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ custom_target('manual_html',
7272
],
7373
build_by_default: true,
7474
install: true,
75-
install_dir: install_tutorialdir
75+
install_dir: install_tutorialdir,
76+
install_tag: 'doc',
7677
)
7778

7879
if can_parse_and_validate

docs/reference/meson.build

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ tag_file = custom_target('html_and_tag',
104104
build_by_default: build_documentation,
105105
install: true,
106106
install_dir: install_reference_docdir,
107+
install_tag: 'doc',
107108
)
108109

109110
devhelp_file = custom_target('devhelp',
@@ -127,7 +128,8 @@ meson.add_install_script(
127128
devhelp_file.full_path(),
128129
install_devhelpdir,
129130
install_reference_docdir / 'html',
130-
docinstall_flags
131+
docinstall_flags,
132+
install_tag: 'doc',
131133
)
132134

133135
# 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
@@ -39,7 +39,8 @@ foreach ex : example_programs
3939
exe_file = executable(ex_name, ex_sources,
4040
dependencies: xmlxx_own_dep,
4141
implicit_include_directories: false,
42-
build_by_default: build_examples
42+
build_by_default: build_examples,
43+
install: false,
4344
)
4445

4546
if build_examples

meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,9 @@ configure_file(
364364
input: xmlxxconfig_h_meson,
365365
output: 'libxml++config.h',
366366
configuration: pkg_conf_data,
367+
install: true,
367368
install_dir: install_includeconfigdir,
369+
install_tag: 'devel',
368370
)
369371

370372
subdir('MSVC_NMake/libxml++')

tests/meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ foreach ex : test_programs
2525
exe_file = executable(ex_name, ex_sources,
2626
dependencies: xmlxx_own_dep,
2727
implicit_include_directories: false,
28-
build_by_default: build_tests
28+
build_by_default: build_tests,
29+
install: false,
2930
)
3031

3132
if build_tests

0 commit comments

Comments
 (0)