summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkali <kali@leap.se>2021-07-15 17:10:31 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-07-15 17:23:55 +0200
commit8fd0fcc5eaa9b5fc7692304cdf24560dfb8862ab (patch)
tree9fb77f1ee6b88fb258a5f3fc08f02c3af4eaf074 /Makefile
parentd9131ae8c78519e6c8e17285ae29caa06e704892 (diff)
[pkg] improve stapler script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index de3e89a..08021da 100644
--- a/Makefile
+++ b/Makefile
@@ -253,6 +253,11 @@ ifeq (${PLATFORM}, darwin)
ditto -ck --rsrc --sequesterRsrc build/installer/${APPNAME}-installer-${VERSION}.app build/installer/${APPNAME}-installer-${VERSION}.zip
endif
+notarize_all:
+ APPNAME=${APPNAME} VERSION=${VERSION} TARGET=${TARGET} OSXAPPPASS=${OSXAPPPASS} branding/scripts/osx-stapler.sh
+
+# --------------------
+
notarize_installer:
# courtesy of https://skyronic.com/2019/07/app-notarization-for-qt-applications/
ifeq (${PLATFORM}, darwin)
@@ -274,6 +279,8 @@ ifeq (${PLATFORM}, darwin)
@create-dmg deploy/${APPNAME}-${VERSION}.dmg build/installer/${APPNAME}-installer-${VERSION}.app
endif
+# --------------------
+
check_qtifw:
ifdef HAS_QTIFW