[libhandy/libhandy-1-6] meson: Don't add dist script for subprojects
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/libhandy-1-6] meson: Don't add dist script for subprojects
- Date: Fri, 22 Apr 2022 21:48:20 +0000 (UTC)
commit 8262c5e68b4da40ca2a25dd96cbd01ab93f6ecb6
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.
Fixes https://gitlab.gnome.org/GNOME/libhandy/-/issues/463
(cherry picked from commit 23b77df67c6e221dad1196034d191ca5ca37548a)
meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index fad7e5de..613eacf7 100644
--- a/meson.build
+++ b/meson.build
@@ -141,7 +141,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]