Fix the Mac OS bundle makers, tested against the autotools version.

This commit is contained in:
Eric S. Raymond 2008-03-29 16:18:28 +00:00
parent 1b1aa89095
commit b5add44a17

View file

@ -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
#