Make Qmake copy Readme instead of OS scripts
Described in commit 97e203fd89e7cb54c7ce96ce779b2e8cb6ac1374
This commit is contained in:
@@ -45,7 +45,11 @@ include($$include_dir/sources.pri)
|
|||||||
include($$include_dir/resources.pri)
|
include($$include_dir/resources.pri)
|
||||||
|
|
||||||
# Copy extra files
|
# Copy extra files
|
||||||
COPIES += resCopy
|
COPIES += resCopy readmeCopy
|
||||||
|
COPY_DEST_DIR = $$OUT_PWD/$$DESTDIR
|
||||||
|
|
||||||
resCopy.files = src/res/*
|
resCopy.files = src/res/*
|
||||||
resCopy.path = $$OUT_PWD/$$DESTDIR/res
|
resCopy.path = $$COPY_DEST_DIR/res
|
||||||
|
|
||||||
|
readmeCopy.files = Readme.md
|
||||||
|
readmeCopy.path = $$COPY_DEST_DIR
|
||||||
|
|||||||
@@ -119,9 +119,6 @@ def deploy():
|
|||||||
|
|
||||||
say("Copying necessary files:")
|
say("Copying necessary files:")
|
||||||
|
|
||||||
#readme
|
|
||||||
copy_file(get_project_dir() + "\Readme.md", get_deploy_dir() + "\Readme.md")
|
|
||||||
|
|
||||||
#license
|
#license
|
||||||
copy_file(get_project_dir() + "\\LICENSE", get_deploy_dir() + "\\LICENSE-GPL.txt")
|
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\\openvr\\LICENSE", get_deploy_dir() + "\\LICENSE-VALVE.txt")
|
||||||
|
|||||||
Reference in New Issue
Block a user