From b5add44a174071497dd2414993e833d47bfa6511 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 29 Mar 2008 16:18:28 +0000 Subject: [PATCH] Fix the Mac OS bundle makers, tested against the autotools version. --- SConstruct | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/SConstruct b/SConstruct index 119034781d9..3babfdb6701 100644 --- a/SConstruct +++ b/SConstruct @@ -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 #