diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-04-18 11:56:43 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-05-06 22:59:22 -0400 |
commit | a3ac4144658f55d92b68ff7e13c8fd2b9b7b7909 (patch) | |
tree | a8177fe10998d793fe1346427c61758ad47a5719 /meson_options.txt | |
parent | 8ee6203e2cd248e267bd9bd901996491bfb9df9e (diff) | |
download | gtk+-a3ac4144658f55d92b68ff7e13c8fd2b9b7b7909.tar.gz |
Generate screenshots on the fly
This commit adds a new meson option -Dupdate_screenshots=true.
When it is enabled, and -Dgtk_doc=true is also used, then the
build will generate images to include in the API docs from
ui files in docs/reference/gtk/images.
Note: we still keep a copy of the images in git, in order to
allow building without a display connection. To update the
images in git, the generated images need to be copied back
from the builddir to the srcdir.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index bb2530d00a..2084ab86e1 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -85,6 +85,11 @@ option('gtk_doc', value: false, description : 'Build API reference and tools documentation') +option('update_screenshots', + type: 'boolean', + value: false, + description : 'Regenerate screenshots for the documentation') + option('man-pages', type: 'boolean', value: false, |