1VERSION=$(shell cat version.txt)
4ALL=$(BASE)-macOS.pkg $(BASE)-macOS.zip
9 chmod +x $(DEST)/bin/pandoc
10 codesign --force --options runtime -s "5U2WKE6DES" $(DEST)/bin/pandoc
11 echo "SIGNED" > signed.txt
14 pkgbuild --root pandoc --identifier net.johnmacfarlane.pandoc --version $(VERSION) --ownership recommended $@
16$(BASE)-macOS.pkg: pandoc.pkg
17 productbuild --distribution distribution.xml --resources Resources --package-path $< --version $(VERSION) --sign 'Developer ID Installer: John Macfarlane' $@
19$(BASE)-macOS.zip: signed.txt
24 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}" > $@
26notarize: gon.hcl $(BASE)-macOS.pkg
27 gon -log-level=warn ./gon.hcl
30 rm signed.txt $(BASE) pandoc.pkg gon.hcl
35.PHONY: all clean distclean
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list