Fix the Mac OS bundle makers, tested against the autotools version.
This commit is contained in:
parent
1b1aa89095
commit
b5add44a17
1 changed files with 2 additions and 4 deletions
|
@ -1033,7 +1033,6 @@ env.Alias('dist', tarball)
|
|||
|
||||
#
|
||||
# Making Mac OS X application bundles
|
||||
# FIXME: Path names are rooted at data/, they sgould be rooted at datadir
|
||||
#
|
||||
env.Alias("wesnoth-bundle",
|
||||
env.Command("Battle For Wesnoth.app", "wesnoth", [
|
||||
|
@ -1041,7 +1040,7 @@ env.Alias("wesnoth-bundle",
|
|||
Mkdir("${TARGET}/Contents/MacOS"),
|
||||
Mkdir("${TARGET}/Contents/Resources"),
|
||||
Action('echo "APPL????" > "${TARGET}/Contents/PkgInfo"'),
|
||||
Copy("${TARGET}/Contents/MacOS", "wesnoth"),
|
||||
Copy("${TARGET}/Contents/MacOS/wesnoth", "wesnoth"),
|
||||
]))
|
||||
env.Clean(all, "Battle For Wesnoth.app")
|
||||
env.Alias("wesnoth-editor-bundle",
|
||||
|
@ -1050,11 +1049,10 @@ env.Alias("wesnoth-editor-bundle",
|
|||
Mkdir("${TARGET}/Contents/MacOS"),
|
||||
Mkdir("${TARGET}/Contents/Resources"),
|
||||
Action('echo "APPL????" > "${TARGET}/Contents/PkgInfo"'),
|
||||
Copy("${TARGET}/Contents/MacOS", "wesnoth_editor"),
|
||||
Copy("${TARGET}/Contents/MacOS/wesnoth_editor", "wesnoth_editor"),
|
||||
]))
|
||||
env.Clean(all, "Battle For Wesnoth Editor.app")
|
||||
|
||||
|
||||
#
|
||||
# Sanity checking
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue