[gtkmm/win32-installer-update-3: 11/13] meson: Copy COPYING to win32_installer/meson
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/win32-installer-update-3: 11/13] meson: Copy COPYING to win32_installer/meson
- Date: Wed, 11 May 2022 09:50:01 +0000 (UTC)
commit 53c49559bd6cd48316d7ffcf7c17593517770e25
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed May 11 16:09:55 2022 +0800
meson: Copy COPYING to win32_installer/meson
...when building on Windows. This is what will form the lgpl.txt in the
installer.
meson.build | 3 +++
win32_installer/meson.build | 6 ++++--
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 35bdcc56..754084d8 100644
--- a/meson.build
+++ b/meson.build
@@ -366,6 +366,9 @@ endif
# add_dist_script() is not allowed in a subproject if meson.version() < 0.58.0.
can_add_dist_script = not meson.is_subproject() or meson.version().version_compare('>= 0.58.0')
+# Used for building the Windows NSIS installer
+lgpl_license = files(['COPYING'])
+
subdir('tools/extra_defs_gen')
subdir('MSVC_NMake/gendef')
subdir('gdk')
diff --git a/win32_installer/meson.build b/win32_installer/meson.build
index 70e27d22..1648a1da 100644
--- a/win32_installer/meson.build
+++ b/win32_installer/meson.build
@@ -1,7 +1,7 @@
# win32_installer
-# Input: pkg_conf_data
-# Output: gtkmm_installer_nsi
+# Input: pkg_conf_data, lgpl_license
+# Output: gtkmm_installer_nsi, lgpl_license_txt
if host_machine.system() != 'windows'
message('NSIS installer is only possible on Windows')
@@ -24,5 +24,7 @@ foreach f: installer_data_files
configure_file(input: f, output: f, copy: true)
endforeach
+lgpl_license_txt = configure_file(input: lgpl_license, output: 'lgpl.txt', copy: true)
+
subdir('NSISLibrary')
subdir('translations')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]