aboutsummaryrefslogtreecommitdiff
path: root/macos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'macos/Makefile')
-rw-r--r--macos/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/macos/Makefile b/macos/Makefile
index 1537008e7..216ccbee5 100644
--- a/macos/Makefile
+++ b/macos/Makefile
@@ -27,14 +27,18 @@ $(BASE)-macOS.zip: $(DEST)/bin/pandoc-server $(DEST)/bin/pandoc-lua signed.txt
mv $(DEST) $(BASE)
zip --symlinks -r $@ $(BASE)
-gon.hcl: version.txt
- echo "notarize {\n path = \"$(BASE)-macOS.pkg\"\n bundle_id = \"org.pandoc.pandoc\"\n staple = true\n}\napple_id {\n username = \"[email protected]\"\n password = \"@env:AC_PASSWORD\"\n}" > $@
+# gon.hcl: version.txt
+# echo "notarize {\n path = \"$(BASE)-macOS.pkg\"\n bundle_id = \"org.pandoc.pandoc\"\n staple = true\n}\napple_id {\n username = \"[email protected]\"\n password = \"@env:AC_PASSWORD\"\n}" > $@
-notarize: gon.hcl $(BASE)-macOS.pkg
- gon -log-level=warn ./gon.hcl
+#notarize: gon.hcl $(BASE)-macOS.pkg
+# gon -log-level=warn ./gon.hcl
+
+notarize: $(BASE)-macOS.pkg
+ xcrun notarytool submit $< --keychain-profile=pandoc --wait && \
+ xcrun stapler staple $<
clean:
- rm signed.txt $(BASE) pandoc.pkg gon.hcl
+ rm signed.txt $(BASE) pandoc.pkg # gon.hcl
distclean: clean
rm $(ALL)