aboutsummaryrefslogtreecommitdiff
path: root/macos
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-03-22 11:00:31 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-03-22 11:00:31 -0700
commit36cdaa4845b31ce42a2c4a2f96f25a8ea1225054 (patch)
tree0de58eb92846f68413be481d0e8e22e9ad22a6be /macos
parentc17366893892caa0131152db219dbeba27b3f6f4 (diff)
downloadpandoc-36cdaa4845b31ce42a2c4a2f96f25a8ea1225054.tar.gz
Fixes to 'notarize' target to preserve hardened runtime.
Diffstat (limited to 'macos')
-rw-r--r--macos/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/macos/Makefile b/macos/Makefile
index 5ecb53b5a..aec2a0983 100644
--- a/macos/Makefile
+++ b/macos/Makefile
@@ -7,8 +7,8 @@ all: $(ALL)
signed.txt: $(DEST)
chmod +x $(DEST)/bin/pandoc $(DEST)/bin/pandoc-citeproc
- codesign -v $(DEST)/bin/pandoc || codesign -s "5U2WKE6DES" $(DEST)/bin/pandoc
- codesign -v $(DEST)/bin/pandoc-citeproc || codesign -s "5U2WKE6DES" $(DEST)/bin/pandoc-citeproc
+ codesign --force --options runtime -s "5U2WKE6DES" $(DEST)/bin/pandoc
+ codesign --force --options runtime -s "5U2WKE6DES" $(DEST)/bin/pandoc-citeproc
echo "SIGNED" > signed.txt
pandoc.pkg: signed.txt