From c17366893892caa0131152db219dbeba27b3f6f4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 22 Mar 2020 10:50:11 -0700 Subject: macos/Makefile - add notarize target. --- macos/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'macos') diff --git a/macos/Makefile b/macos/Makefile index 678ae3b76..5ecb53b5a 100644 --- a/macos/Makefile +++ b/macos/Makefile @@ -21,8 +21,14 @@ $(BASE)-macOS.zip: signed.txt ln -s $(DEST) $(BASE) zip -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 = \"jgm@berkeley.edu\"\n password = \"@env:AC_PASSWORD\"\n}" > $@ + +notarize: gon.hcl $(BASE)-macOS.pkg + gon -log-level=info ./gon.hcl + clean: - rm signed.txt $(BASE) pandoc.pkg + rm signed.txt $(BASE) pandoc.pkg gon.hcl distclean: clean rm $(ALL) -- cgit v1.2.3