summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-12 14:09:05 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-03-12 14:09:05 +0000
commitdf366de870fedf0cecd46d9c25d6b4c03a3b030f (patch)
treeec64a9033ddc1b567b4f898bd1b2266f6b221304
parent9d35e956dc7e76cde6cd3ef66f880d33e5624f07 (diff)
parenta2f35860115e8cd44f07d5158e2df059e8163a08 (diff)
downloadpango-df366de870fedf0cecd46d9c25d6b4c03a3b030f.tar.gz
Merge branch 'install-docs' into 'master'
build: Install documentation See merge request GNOME/pango!293
-rw-r--r--docs/meson.build14
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