diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-03-12 11:10:55 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-03-12 11:10:55 +0000 |
commit | a2f35860115e8cd44f07d5158e2df059e8163a08 (patch) | |
tree | ec64a9033ddc1b567b4f898bd1b2266f6b221304 /docs | |
parent | 9d35e956dc7e76cde6cd3ef66f880d33e5624f07 (diff) | |
download | pango-a2f35860115e8cd44f07d5158e2df059e8163a08.tar.gz |
build: Install documentationinstall-docs
We are building it, but never installing it on the system.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/meson.build | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/meson.build b/docs/meson.build index 14a7a5cd..aa21512f 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -16,6 +16,8 @@ pango_content_files = [ doc_conf = configuration_data() doc_conf.set('PANGO_VERSION', meson.project_version()) +docs_dir = pango_datadir / 'doc/pango/reference' + pango_toml = configure_file(input: 'pango.toml.in', output: 'pango.toml', configuration: doc_conf) @@ -36,6 +38,8 @@ custom_target('pango-doc', ], depend_files: [ pango_toml, pango_content_files], build_by_default: true, + install: true, + install_dir: docs_dir, ) if build_pangoft2 @@ -59,6 +63,8 @@ if build_pangoft2 ], depend_files: [ pangoft2_toml, 'pango-name.png' ], build_by_default: true, + install: true, + install_dir: docs_dir, ) endif @@ -83,6 +89,8 @@ if xft_dep.found() and fontconfig_dep.found() ], depend_files: [ pangoxft_toml, 'pango-name.png' ], build_by_default: true, + install: true, + install_dir: docs_dir, ) endif @@ -113,6 +121,8 @@ if cairo_dep.found() ], depend_files: [ pangocairo_toml, pangocairo_content_files ], build_by_default: true, + install: true, + install_dir: docs_dir, ) endif @@ -136,6 +146,8 @@ custom_target('pangoot-doc', ], depend_files: [ pangoot_toml, 'pango-name.png' ], build_by_default: true, + install: true, + install_dir: docs_dir, ) if fontconfig_dep.found() @@ -159,5 +171,7 @@ if fontconfig_dep.found() ], depend_files: [ pangofc_toml, 'pango-name.png' ], build_by_default: true, + install: true, + install_dir: docs_dir, ) endif |