mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r4061) -Codechange: [OSX] removed some long dead flags for universal binary building and removed an absolute path for hdiutil (I don't thin anybody will have it at a non-default place, but still)
This commit is contained in:
parent
15f72ab7f4
commit
e271479136
@ -27,13 +27,6 @@ ifdef TRIPLE_BINARY
|
|||||||
$(Q)rm $@.uni $@.ppc970
|
$(Q)rm $@.uni $@.ppc970
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef UNIVERSAL_PPC_PART
|
|
||||||
# the bundle is build by the PPC compile when making universal binaries
|
|
||||||
BUILD_OSX_BUNDLE:=
|
|
||||||
else
|
|
||||||
BUILD_OSX_BUNDLE:=build_OSX_bundle
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef JAGUAR
|
ifdef JAGUAR
|
||||||
JAGUAR_POSTFIX := -jaguar
|
JAGUAR_POSTFIX := -jaguar
|
||||||
endif
|
endif
|
||||||
@ -41,7 +34,7 @@ endif
|
|||||||
# build the bundle. OSX wants to keep apps in bundles, so we will give it one
|
# build the bundle. OSX wants to keep apps in bundles, so we will give it one
|
||||||
# the good thing about bundles is that you can keep extra files in them, so we keep lng files and a data dir in it
|
# the good thing about bundles is that you can keep extra files in them, so we keep lng files and a data dir in it
|
||||||
|
|
||||||
$(BUILD_OSX_BUNDLE): $(TTD)
|
BUILD_OSX_BUNDLE: $(TTD)
|
||||||
@echo '===> Building application bundle'
|
@echo '===> Building application bundle'
|
||||||
$(Q)rm -fr "$(OSXAPP)"
|
$(Q)rm -fr "$(OSXAPP)"
|
||||||
$(Q)mkdir -p "$(OSXAPP)"/Contents/MacOS
|
$(Q)mkdir -p "$(OSXAPP)"/Contents/MacOS
|
||||||
@ -73,9 +66,9 @@ release: all
|
|||||||
$(Q)cp os/macosx/*.webloc "OpenTTD $(REV)"
|
$(Q)cp os/macosx/*.webloc "OpenTTD $(REV)"
|
||||||
$(Q)cp known-bugs.txt "OpenTTD $(REV)/known-bugs.txt"
|
$(Q)cp known-bugs.txt "OpenTTD $(REV)/known-bugs.txt"
|
||||||
$(Q)cp scenario/* "OpenTTD $(REV)/scenario/"
|
$(Q)cp scenario/* "OpenTTD $(REV)/scenario/"
|
||||||
$(Q)/usr/bin/hdiutil create -ov -format UDZO -srcfolder "OpenTTD $(REV)" openttd-"$(REV)"-osx"$(JAGUAR_POSTFIX)".dmg
|
$(Q)hdiutil create -ov -format UDZO -srcfolder "OpenTTD $(REV)" openttd-"$(REV)"-osx"$(JAGUAR_POSTFIX)".dmg
|
||||||
$(Q)rm -fr "OpenTTD $(REV)"
|
$(Q)rm -fr "OpenTTD $(REV)"
|
||||||
|
|
||||||
$(OSX): $(TTD) $(BUILD_OSX_BUNDLE)
|
$(OSX): $(TTD) BUILD_OSX_BUNDLE
|
||||||
|
|
||||||
.PHONY: release $(BUILD_OSX_BUNDLE) $(UNIVERSAL_BINARY)
|
.PHONY: release $(BUILD_OSX_BUNDLE) $(UNIVERSAL_BINARY)
|
||||||
|
Loading…
Reference in New Issue
Block a user