diff options
author | isaacs <i@izs.me> | 2012-08-03 00:35:41 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-08-03 00:56:50 +0400 |
commit | 2dd710e7ea5163af3573d7d53c64858aaa88cf58 (patch) | |
tree | d358226f026edad2f047ab36ae2cf62564fb5a13 /Makefile | |
parent | 37537d5720a563cb63929a0f4014491467767874 (diff) |
build: Sign pkg installer for OS X
This makes the installer work on Mountain Lion.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,6 +3,7 @@ BUILDTYPE ?= Release PYTHON ?= python DESTDIR ?= +SIGN ?= # Default to verbose builds. # To do quiet/pretty builds, run `make V=` to set V to an empty string, @@ -210,6 +211,7 @@ $(PKG): rm -rf out/deps out/Release ./configure --prefix=$(PKGDIR)/usr/local --without-snapshot --dest-cpu=x64 $(MAKE) install V=$(V) + SIGN="$(SIGN)" PKGDIR="$(PKGDIR)" bash tools/osx-codesign.sh lipo $(PKGDIR)/32/usr/local/bin/node \ $(PKGDIR)/usr/local/bin/node \ -output $(PKGDIR)/usr/local/bin/node-universal \ @@ -217,9 +219,10 @@ $(PKG): mv $(PKGDIR)/usr/local/bin/node-universal $(PKGDIR)/usr/local/bin/node rm -rf $(PKGDIR)/32 $(packagemaker) \ - --id "org.nodejs.NodeJS-$(VERSION)" \ + --id "org.nodejs.Node" \ --doc tools/osx-pkg.pmdoc \ --out $(PKG) + SIGN="$(SIGN)" PKG="$(PKG)" bash tools/osx-productsign.sh $(TARBALL): node doc @if [ "$(shell git status --porcelain | egrep -v '^\?\? ')" = "" ]; then \ |