[libadwaita/libadwaita-1-0] meson: Don't add dist script for subprojects
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/libadwaita-1-0] meson: Don't add dist script for subprojects
- Date: Fri, 22 Apr 2022 21:43:45 +0000 (UTC)
commit 54505ef364d3aee3d57f6adbd7c70884f5e8341d
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat Apr 23 01:39:54 2022 +0400
meson: Don't add dist script for subprojects
Not sure why meson can't figure this out itself, but whatever.
See https://gitlab.gnome.org/GNOME/libhandy/-/issues/463
(cherry picked from commit b680f8d9daea4f3f594365ee6a3af3db6884d59f)
(cherry picked from commit f6e34376c8c6b8efd8db3e3f1f45407797036935)
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 0c80cdfb..2e446eea 100644
--- a/meson.build
+++ b/meson.build
@@ -132,7 +132,9 @@ configure_file(
output: 'run',
configuration: run_data)
-meson.add_dist_script('build-aux'/ 'meson'/ 'dist-data.py')
+if not meson.is_subproject()
+ meson.add_dist_script('build-aux'/ 'meson'/ 'dist-data.py')
+endif
summary(
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]