diff options
| author | John MacFarlane <[email protected]> | 2025-09-06 23:29:10 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-09-06 23:29:10 +0200 |
| commit | 373ba8e176e3301f9789fb571f47e75870c24ae0 (patch) | |
| tree | ae180b6867e1fe39d43cc29a17a4b0f56e69892e | |
| parent | 4edbd0a88c5d3d65354b6015b9680db976b613f5 (diff) | |
macos package: use direct paths for notarytool, staple.
| -rw-r--r-- | macos/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macos/Makefile b/macos/Makefile index 99e988403..ae1ee4197 100644 --- a/macos/Makefile +++ b/macos/Makefile @@ -3,6 +3,7 @@ VERSION=$(shell cat version.txt) BASE=pandoc-$(VERSION)-$(ARCHITECTURE) DEST=pandoc/usr/local ALL=$(BASE)-macOS.pkg $(BASE)-macOS.zip +TOOLPATH=/Applications/XCode.app/Contents/Developer/usr/bin all: $(ALL) notarize @@ -28,8 +29,8 @@ $(BASE)-macOS.zip: $(DEST)/bin/pandoc-server $(DEST)/bin/pandoc-lua signed.txt zip --symlinks -r $@ $(BASE) notarize: $(BASE)-macOS.pkg - xcrun notarytool submit $< --keychain-profile=pandoc --wait && \ - xcrun stapler staple $< + $(TOOLPATH)/notarytool submit $< --keychain-profile=pandoc --wait && \ + $(TOOLPATH)/stapler staple $< clean: rm signed.txt $(BASE) pandoc.pkg # gon.hcl |
