diff options
author | Patrick Griffis <tingping@tingping.se> | 2017-06-09 22:10:36 -0400 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2017-06-10 12:42:28 -0400 |
commit | a88ad9173a9777a70c036a100e956040a879baf2 (patch) | |
tree | 66d4192985cd47cbf5302d180e231914019b8e95 | |
parent | 7764c0a7fac551a95439881e53c1b0c28d13d239 (diff) | |
download | meson-a88ad9173a9777a70c036a100e956040a879baf2.zip meson-a88ad9173a9777a70c036a100e956040a879baf2.tar.gz meson-a88ad9173a9777a70c036a100e956040a879baf2.tar.bz2 |
gnome.yelp(): Default symlink_media to true
-rw-r--r-- | docs/markdown/Gnome-module.md | 4 | ||||
-rw-r--r-- | mesonbuild/modules/gnome.py | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md index 61b88ad..805ceaa 100644 --- a/docs/markdown/Gnome-module.md +++ b/docs/markdown/Gnome-module.md @@ -127,9 +127,11 @@ This also creates two targets for translations `help-$project-update-po` and `he * `sources`: list of pages * `media`: list of media such as images -* `symlink_media`: if media should be symlinked (requires newish yelp) defaults to `false` +* `symlink_media`: if media should be symlinked not copied (defaults to `true` since 0.41.0) * `languages`: list of languages for translations +Note that very old versions of yelp may not support symlinked media; At least 3.10 should work. + *Added 0.36.0* ### gnome.gtkdoc() diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 6644ba7..ceaf8da 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -598,7 +598,7 @@ class GnomeModule(ExtensionModule): langs = mesonlib.stringlistify(kwargs.pop('languages', [])) media = mesonlib.stringlistify(kwargs.pop('media', [])) - symlinks = kwargs.pop('symlink_media', False) + symlinks = kwargs.pop('symlink_media', True) if not isinstance(symlinks, bool): raise MesonException('symlink_media must be a boolean') |