summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BuildTools/SCons/SConstruct1
-rw-r--r--Swift/QtUI/SConscript8
2 files changed, 8 insertions, 1 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index c084cff..a7e2bed 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -299,6 +299,7 @@ if env["PLATFORM"] == "darwin" :
env["HAVE_SPARKLE"] = 1
env["SPARKLE_FLAGS"] = sparkle_flags
env["SPARKLE_FRAMEWORK"] = Dir("../../3rdParty/Sparkle/Sparkle-1.14.0/Sparkle.framework")
+ env["SPARKLE_COPYING"] = File("../../3rdParty/Sparkle/Sparkle-1.14.0/LICENSE")
conf.Finish()
if env.get("sparkle_public_dsa_key", None) != None :
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 8a39063..3512120 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -326,8 +326,14 @@ commonResources = {
"": ["#/Swift/resources/sounds"]
}
+
+## COPYING file generation
myenv["TEXTFILESUFFIX"] = ""
-myenv.MyTextfile(target = "COPYING", source = [myenv.File("../../COPYING.gpl"), myenv.File("../../COPYING.thirdparty"), myenv.File("../../COPYING.dependencies")], LINESEPARATOR = "\n\n========\n\n\n")
+
+copying_files = [myenv.File("../../COPYING.gpl"), myenv.File("../../COPYING.thirdparty"), myenv.File("../../COPYING.dependencies")]
+if env["PLATFORM"] == "darwin" and env["HAVE_SPARKLE"] :
+ copying_files.append(env["SPARKLE_COPYING"])
+myenv.MyTextfile(target = "COPYING", source = copying_files, LINESEPARATOR = "\n\n========\n\n\n")
################################################################################
# Translation