forked from len0rd/rockbox
Correct OS X post-build bundle copying.
Make copying files to the bundle work when building other applications than Rockbox Utility by replacing a hardcoded workaround. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27606 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ce1d2bf7b1
commit
85f84060c4
1 changed files with 3 additions and 2 deletions
|
@ -289,9 +289,10 @@ def macdeploy(versionstring, buildfolder):
|
||||||
appbundle = buildfolder + "/" + progexe
|
appbundle = buildfolder + "/" + progexe
|
||||||
|
|
||||||
# workaround to Qt issues when building out-of-tree. Copy files into bundle.
|
# workaround to Qt issues when building out-of-tree. Copy files into bundle.
|
||||||
sourcebase = buildfolder + re.sub('rbutilqt.pro$', '', project)
|
sourcebase = buildfolder + re.sub('[^/]+.pro$', '', project) + "/"
|
||||||
|
print sourcebase
|
||||||
for src in bundlecopy:
|
for src in bundlecopy:
|
||||||
shutil.copy(sourcebase + src, appbundle + bundlecopy[src])
|
shutil.copy(sourcebase + src, appbundle + "/" + bundlecopy[src])
|
||||||
# end of Qt workaround
|
# end of Qt workaround
|
||||||
|
|
||||||
output = subprocess.Popen(["macdeployqt", progexe, "-dmg"], stdout=subprocess.PIPE, cwd=buildfolder)
|
output = subprocess.Popen(["macdeployqt", progexe, "-dmg"], stdout=subprocess.PIPE, cwd=buildfolder)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue