summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Gilli <julien.gilli@joyent.com>2015-03-11 11:45:57 -0700
committerJulien Gilli <julien.gilli@joyent.com>2015-03-11 16:25:36 -0700
commit219c80d0996304ebb98383eb7eeead2135e37f15 (patch)
tree4860dbdc4ecafe7e68254f349a9d87d4e981ca2d
parentf2a45caf2e1b73fea01fa9a941bc61096a999664 (diff)
downloadnode-219c80d0996304ebb98383eb7eeead2135e37f15.tar.gz
build: allow custom PackageMaker path
Make PACKAGEMAKER customizable because PackageMaker is not necessarily installed in /Developer on OSX anymore. PR: #9377 PR-URL: https://github.com/joyent/node/pull/9377 Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e1af3c81d..ceb4ef766 100644
--- a/Makefile
+++ b/Makefile
@@ -223,7 +223,7 @@ TARBALL=$(TARNAME).tar.gz
BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH)
BINARYTAR=$(BINARYNAME).tar.gz
PKG=out/$(TARNAME).pkg
-packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
+PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
PKGSRC=nodejs-$(DESTCPU)-$(RAWVER).tgz
ifdef NIGHTLY
@@ -273,7 +273,7 @@ $(PKG): release-only
-create
mv $(PKGDIR)/usr/local/bin/node-universal $(PKGDIR)/usr/local/bin/node
rm -rf $(PKGDIR)/32
- $(packagemaker) \
+ $(PACKAGEMAKER) \
--id "org.nodejs.Node" \
--doc tools/osx-pkg.pmdoc \
--out $(PKG)