Fix macOS zip so pandoc-server is a symlink.

This cuts its size by 2x.
This commit is contained in:
John MacFarlane
2022-08-22 10:07:00 -07:00
parent 53325aa2e3
commit 108f0844ba
+1 -1
View File
@@ -21,7 +21,7 @@ $(BASE)-macOS.pkg: pandoc.pkg
$(BASE)-macOS.zip: $(DEST)/bin/pandoc-server signed.txt
ln -s $(DEST) $(BASE)
zip -r $@ $(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 = \"jgm@berkeley.edu\"\n password = \"@env:AC_PASSWORD\"\n}" > $@