forked from cory/tildefriends
Sign when we're building the .app, but only on Linux. Support building .ipa files.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4546 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
5b6ee20b2d
commit
b9ceb30ecf
14
Makefile
14
Makefile
@ -697,16 +697,28 @@ out/%/data.zip: $(RAW_FILES)
|
|||||||
out/tildefriends-%.app/tildefriends: out/%/tildefriends out/tildefriends-%.app/Info.plist out/tildefriends-%.app/tildefriends.png out/tildefriends-%.app/data.zip
|
out/tildefriends-%.app/tildefriends: out/%/tildefriends out/tildefriends-%.app/Info.plist out/tildefriends-%.app/tildefriends.png out/tildefriends-%.app/data.zip
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
@cp -v $< $@
|
@cp -v $< $@
|
||||||
|
ifeq ($(HAVE_LINUX_IOS),1)
|
||||||
|
@zsign -k .keys/apple.p12 -f -m src/ios/embedded.mobileprovision $(realpath $(dir $@))
|
||||||
|
endif
|
||||||
.SECONDARY:
|
.SECONDARY:
|
||||||
|
out/tildefriends-%.ipa: out/tildefriends-ios%.app/tildefriends
|
||||||
|
@echo [ipa] $@
|
||||||
|
@rm -rf $@.tmp $@
|
||||||
|
@mkdir -p $@.tmp/Payload/tildefriends.app/
|
||||||
|
@cp -R $(dir $<)/* $@.tmp/Payload/tildefriends.app/
|
||||||
|
@cd $@.tmp/ && zip -u ../../$@ -q -9 -r ./
|
||||||
|
@rm -rf $@.tmp/
|
||||||
|
|
||||||
iossimdebug-app: out/tildefriends-iossimdebug.app/tildefriends
|
iossimdebug-app: out/tildefriends-iossimdebug.app/tildefriends
|
||||||
iossimrelease-app: out/tildefriends-iossimrelease.app/tildefriends
|
iossimrelease-app: out/tildefriends-iossimrelease.app/tildefriends
|
||||||
iosdebug-app: out/tildefriends-iosdebug.app/tildefriends
|
iosdebug-app: out/tildefriends-iosdebug.app/tildefriends
|
||||||
iosrelease-app: out/tildefriends-iosrelease.app/tildefriends
|
iosrelease-app: out/tildefriends-iosrelease.app/tildefriends
|
||||||
|
|
||||||
|
iosdebug-ipa: out/tildefriends-debug.ipa
|
||||||
|
iosrelease-ipa: out/tildefriends-release.ipa
|
||||||
.PHONY: iossimdebug-app iossimrelease-app iosdebug-app iosrelease-app
|
.PHONY: iossimdebug-app iossimrelease-app iosdebug-app iosrelease-app
|
||||||
|
|
||||||
iosdebuggo: out/tildefriends-iosdebug.app/tildefriends
|
iosdebuggo: out/tildefriends-iosdebug.app/tildefriends
|
||||||
zsign -k .keys/apple.p12 -f -m src/ios/embedded.mobileprovision $(realpath $(dir $<))
|
|
||||||
ideviceinstaller -i $(realpath $(dir $<))
|
ideviceinstaller -i $(realpath $(dir $<))
|
||||||
|
|
||||||
iossimdebuggo: out/tildefriends-iossimdebug.app/tildefriends
|
iossimdebuggo: out/tildefriends-iossimdebug.app/tildefriends
|
||||||
|
Loading…
Reference in New Issue
Block a user