diff options
| author | John MacFarlane <[email protected]> | 2022-08-22 10:07:00 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-08-22 10:07:00 -0700 |
| commit | 108f0844ba7151366df4674e54c0f9c85049385e (patch) | |
| tree | d9b4e71c722eeb12fee7a8f8441066c82f75ff3e /macos | |
| parent | 53325aa2e37a976e5a20d8fc2a662070a04e90a9 (diff) | |
Fix macOS zip so pandoc-server is a symlink.
This cuts its size by 2x.
Diffstat (limited to 'macos')
| -rw-r--r-- | macos/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macos/Makefile b/macos/Makefile index a0210b643..3f3ea4293 100644 --- a/macos/Makefile +++ b/macos/Makefile @@ -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 = \"[email protected]\"\n password = \"@env:AC_PASSWORD\"\n}" > $@ |
