forked from zbrateam/Zebra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·21 lines (18 loc) · 1.08 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include $(THEOS)/makefiles/common.mk
include $(THEOS_MAKE_PATH)/null.mk
all::
xcodebuild CODE_SIGN_IDENTITY="" AD_HOC_CODE_SIGNING_ALLOWED=YES -scheme Zebra archive -archivePath Zebra.xcarchive PACKAGE_VERSION='@\"$(THEOS_PACKAGE_BASE_VERSION)\"' | xcpretty && exit ${PIPESTATUS[0]}
after-stage::
mv Zebra.xcarchive/Products/Applications $(THEOS_STAGING_DIR)/Applications
rm -rf Zebra.xcarchive
$(MAKE) -C Supersling LEAN_AND_MEAN=1
mkdir -p $(THEOS_STAGING_DIR)/usr/libexec/zebra
mv $(THEOS_OBJ_DIR)/supersling $(THEOS_STAGING_DIR)/usr/libexec/zebra
rm -rf $(THEOS_STAGING_DIR)/Applications/Zebra.app/embedded.mobileprovision
rm -rf $(THEOS_STAGING_DIR)/Applications/Zebra.app/Installed.pack
ldid -S $(THEOS_STAGING_DIR)/Applications/Zebra.app/Zebra
ldid -S $(THEOS_STAGING_DIR)/Applications/Zebra.app/Frameworks/SDWebImage.framework/SDWebImage
ldid -S $(THEOS_STAGING_DIR)/Applications/Zebra.app/Frameworks/LNPopupController.framework/LNPopupController
ldid -SZebra/Zebra.entitlements $(THEOS_STAGING_DIR)/Applications/Zebra.app/Zebra
after-install::
install.exec "killall \"Zebra\" || true"