From 356668c7ed9c9bf90c25b5df5d6807c101ae7a16 Mon Sep 17 00:00:00 2001 From: "ducarroz%netscape.com" Date: Mon, 21 Jun 1999 23:23:40 +0000 Subject: [PATCH] Add a var $build{apprunner} to build apprunner instance of using xpapp twice. I also export some command line files to let the user start Editor, Messenger, Pref, etc.. directly by opening (or double-click) those files. --- build/mac/NGLayoutBuildList.pm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/build/mac/NGLayoutBuildList.pm b/build/mac/NGLayoutBuildList.pm index a4bd7284c7f..d11fab0cacc 100644 --- a/build/mac/NGLayoutBuildList.pm +++ b/build/mac/NGLayoutBuildList.pm @@ -1236,11 +1236,36 @@ sub BuildMailNewsProjects() sub BuildAppRunner() { - unless( $main::build{xpapp} ) { return; } + unless( $main::build{apprunner} ) { return; } _assertRightDirectory(); # $D becomes a suffix to target names for selecting either the debug or non-debug target of a project my($D) = $main::DEBUG ? "Debug" : ""; BuildOneProject(":mozilla:xpfe:bootstrap:macbuild:apprunner.mcp", "apprunner$D", "apprunner.toc", 0, 0, 1); + + # copy command line documents into the Apprunner folder and set correctly the signature + my($dist_dir) = _getDistDirectory(); + my($cmd_file_path) = ":mozilla:xpfe:bootstrap:"; + my($cmd_file) = ""; + + $cmd_file = "Mozilla Addressbook"; + copy( $cmd_file_path . $cmd_file, $dist_dir . $cmd_file ); + MacPerl::SetFileInfo("MOZZ", "CMDL", $dist_dir . $cmd_file); + + $cmd_file = "Mozilla Editor"; + copy( $cmd_file_path . $cmd_file, $dist_dir . $cmd_file ); + MacPerl::SetFileInfo("MOZZ", "CMDL", $dist_dir . $cmd_file); + + $cmd_file = "Mozilla Message Compose"; + copy( $cmd_file_path . $cmd_file, $dist_dir . $cmd_file ); + MacPerl::SetFileInfo("MOZZ", "CMDL", $dist_dir . $cmd_file); + + $cmd_file = "Mozilla Messenger"; + copy( $cmd_file_path . $cmd_file, $dist_dir . $cmd_file ); + MacPerl::SetFileInfo("MOZZ", "CMDL", $dist_dir . $cmd_file); + + $cmd_file = "Mozilla Preference"; + copy( $cmd_file_path . $cmd_file, $dist_dir . $cmd_file ); + MacPerl::SetFileInfo("MOZZ", "CMDL", $dist_dir . $cmd_file); } #//--------------------------------------------------------------------------------------------------