Make Qmake copy licenses instead of OS scripts
Described in commit 97e203fd89e7cb54c7ce96ce779b2e8cb6ac1374 Linux was not including any license files by mistake.
This commit is contained in:
@@ -45,7 +45,7 @@ include($$include_dir/sources.pri)
|
||||
include($$include_dir/resources.pri)
|
||||
|
||||
# Copy extra files
|
||||
COPIES += resCopy readmeCopy
|
||||
COPIES += resCopy readmeCopy licenseCopy
|
||||
COPY_DEST_DIR = $$OUT_PWD/$$DESTDIR
|
||||
|
||||
resCopy.files = src/res/*
|
||||
@@ -53,3 +53,8 @@ resCopy.path = $$COPY_DEST_DIR/res
|
||||
|
||||
readmeCopy.files = Readme.md
|
||||
readmeCopy.path = $$COPY_DEST_DIR
|
||||
|
||||
licenseCopy.files = LICENSE \
|
||||
third-party/openvr/LICENSE-VALVE \
|
||||
third-party/easylogging++/LICENSE-MIT
|
||||
licenseCopy.path = $$COPY_DEST_DIR
|
||||
|
||||
@@ -119,11 +119,6 @@ def deploy():
|
||||
|
||||
say("Copying necessary files:")
|
||||
|
||||
#license
|
||||
copy_file(get_project_dir() + "\\LICENSE", get_deploy_dir() + "\\LICENSE-GPL.txt")
|
||||
copy_file(get_project_dir() + "\\third-party\\openvr\\LICENSE", get_deploy_dir() + "\\LICENSE-VALVE.txt")
|
||||
copy_file(get_project_dir() + "\\third-party\\easylogging++\\LICENSE", get_deploy_dir() + "\\LICENSE-MIT.txt")
|
||||
|
||||
#package files
|
||||
copy_folder(get_project_dir() + "\\src\\package_files", get_deploy_dir())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user