tools/toolbox: Include subprojects in meson-build --dist

The main use of the --dist flag is as a fallback when the CI
dist job doesn't work for some reason. The gnome-shell tarball
now needs the --include-subprojects flag, and it doesn't hurt
for mutter/gnome-shell-extensions, so just add it when --dist
is specified.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3164>
This commit is contained in:
Florian Müllner 2024-02-12 12:13:17 +01:00 committed by Marge Bot
parent 372dfc5f75
commit ea4f859547

View file

@ -103,7 +103,7 @@ done
find_toplevel
BUILD_DIR=build-$TOOLBOX
[[ $RUN_DIST ]] && DIST="meson dist -C $BUILD_DIR" || DIST=:
[[ $RUN_DIST ]] && DIST="meson dist -C $BUILD_DIR --include-subprojects" || DIST=:
needs_reconfigure && RECONFIGURE=--reconfigure