source: branches/1.9-appstore/source/scripts/make-store-app @ 16161

Last change on this file since 16161 was 16161, checked in by rme, 6 years ago

Add this.

  • Property svn:executable set to *
File size: 909 bytes
Line 
1#!/bin/sh
2
3ccl=/usr/local/src/ccl-appstore
4app="$ccl/Clozure CL.app"
5target="$app/Contents/Resources/ccl"
6
7mkdir "$target"
8( cd "$ccl/lisp-kernel/darwinx8664" && make clean )
9( cd "$ccl/lisp-kernel/darwinx8632" && make clean )
10( cd "$ccl/cocoa-ide/altconsole" && make clean && rm -rf AltConsole.app )
11
12find "$ccl" -type f -name "*.*fsl" -exec rm -rf {} \;
13
14for i in cocoa-ide compiler darwin-x86-headers64 doc examples level-0 level-1 lib library lisp-kernel objc-bridge scripts tools xdump; do
15  cp -r "$ccl/$i" "$target"
16done
17
18
19find "$app" -type d -name .svn -exec rm -rf {} \;
20
21codesign -s "3rd Party Mac Developer Application: Clozure Associates, LLC" "$app/Contents/Resources/AltConsole.app"
22codesign -s "3rd Party Mac Developer Application: Clozure Associates, LLC" "$app"
23productbuild --component "$app" /Applications --sign "3rd Party Mac Developer Installer: Clozure Associates, LLC" "$ccl/ccl.pkg"
24
Note: See TracBrowser for help on using the repository browser.