mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
[Patch by Mike Sliczniak]
Here is a patch that has a shell script cpr.sh to recursively copy directories but discarding things that cause problems at least on 10.4 when making the .app bundles.
This commit is contained in:
parent
65eac29142
commit
e083e0ac33
@ -72,7 +72,7 @@ links:
|
|||||||
dummy/audio_dummy.cpp dummy/clip_dummy.cpp dummy/serial_dummy.cpp \
|
dummy/audio_dummy.cpp dummy/clip_dummy.cpp dummy/serial_dummy.cpp \
|
||||||
dummy/prefs_editor_dummy.cpp dummy/scsi_dummy.cpp SDL slirp \
|
dummy/prefs_editor_dummy.cpp dummy/scsi_dummy.cpp SDL slirp \
|
||||||
MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \
|
MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \
|
||||||
MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \
|
MacOSX/macos_util_macosx.h Unix/cpr.sh \
|
||||||
MacOSX/extfs_macosx.cpp Windows/clip_windows.cpp \
|
MacOSX/extfs_macosx.cpp Windows/clip_windows.cpp \
|
||||||
MacOSX/MacOSX_sound_if.cpp MacOSX/MacOSX_sound_if.h \
|
MacOSX/MacOSX_sound_if.cpp MacOSX/MacOSX_sound_if.h \
|
||||||
MacOSX/AudioBackEnd.cpp MacOSX/AudioBackEnd.h \
|
MacOSX/AudioBackEnd.cpp MacOSX/AudioBackEnd.h \
|
||||||
|
@ -119,25 +119,27 @@ $(GUI_APP_EXE): $(OBJ_DIR) $(GUI_OBJS)
|
|||||||
$(CXX) -o $@ $(LDFLAGS) $(GUI_OBJS) $(GUI_LIBS)
|
$(CXX) -o $@ $(LDFLAGS) $(GUI_OBJS) $(GUI_LIBS)
|
||||||
|
|
||||||
$(APP)_app: $(APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns
|
$(APP)_app: $(APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns
|
||||||
|
rm -rf $(APP_APP)/Contents
|
||||||
mkdir -p $(APP_APP)/Contents
|
mkdir -p $(APP_APP)/Contents
|
||||||
cp -f ../MacOSX/Info.plist $(APP_APP)/Contents/
|
./cpr.sh ../MacOSX/Info.plist $(APP_APP)/Contents/
|
||||||
echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo
|
echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo
|
||||||
mkdir -p $(APP_APP)/Contents/MacOS
|
mkdir -p $(APP_APP)/Contents/MacOS
|
||||||
cp -f $(APP) $(APP_APP)/Contents/MacOS/
|
./cpr.sh $(APP) $(APP_APP)/Contents/MacOS/
|
||||||
strip -x $(APP_APP)/Contents/MacOS/$(APP)
|
strip -x $(APP_APP)/Contents/MacOS/$(APP)
|
||||||
mkdir -p $(APP_APP)/Contents/Resources
|
mkdir -p $(APP_APP)/Contents/Resources
|
||||||
cp -R ../MacOSX/PrefsEditor/standalone_nib/English.lproj $(APP_APP)/Contents/Resources
|
./cpr.sh ../MacOSX/PrefsEditor/standalone_nib/English.lproj $(APP_APP)/Contents/Resources
|
||||||
cp -f ../MacOSX/SheepShaver.icns $(APP_APP)/Contents/Resources/
|
./cpr.sh ../MacOSX/SheepShaver.icns $(APP_APP)/Contents/Resources/
|
||||||
|
|
||||||
$(GUI_APP)_app: $(GUI_APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns
|
$(GUI_APP)_app: $(GUI_APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns
|
||||||
|
rm -rf $(GUI_APP_APP)/Contents
|
||||||
mkdir -p $(GUI_APP_APP)/Contents
|
mkdir -p $(GUI_APP_APP)/Contents
|
||||||
sed -e "s/$(APP)/$(GUI_APP)/" < ../MacOSX/Info.plist > $(GUI_APP_APP)/Contents/Info.plist
|
sed -e "s/$(APP)/$(GUI_APP)/" < ../MacOSX/Info.plist > $(GUI_APP_APP)/Contents/Info.plist
|
||||||
echo -n 'APPL????' > $(GUI_APP_APP)/Contents/PkgInfo
|
echo -n 'APPL????' > $(GUI_APP_APP)/Contents/PkgInfo
|
||||||
mkdir -p $(GUI_APP_APP)/Contents/MacOS
|
mkdir -p $(GUI_APP_APP)/Contents/MacOS
|
||||||
cp -f $(GUI_APP) $(GUI_APP_APP)/Contents/MacOS/
|
./cpr.sh $(GUI_APP) $(GUI_APP_APP)/Contents/MacOS/
|
||||||
strip -x $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP)
|
strip -x $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP)
|
||||||
mkdir -p $(GUI_APP_APP)/Contents/Resources
|
mkdir -p $(GUI_APP_APP)/Contents/Resources
|
||||||
cp -f ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns
|
./cpr.sh ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns
|
||||||
|
|
||||||
modules:
|
modules:
|
||||||
cd Linux/NetDriver; make
|
cd Linux/NetDriver; make
|
||||||
|
Loading…
x
Reference in New Issue
Block a user