summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulien Gilli <julien.gilli@joyent.com>2015-03-11 11:45:57 -0700
committercjihrig <cjihrig@gmail.com>2015-03-16 16:20:16 -0400
commit89bf6c05e9b023af0a79b1677c0b21e2cc0d74fc (patch)
treebfa242b687d728e42c273389a1e6540508a64c70 /Makefile
parentf58e59649d32125937d8caa69763ea70326bfc03 (diff)
downloadandroid-node-v8-89bf6c05e9b023af0a79b1677c0b21e2cc0d74fc.tar.gz
android-node-v8-89bf6c05e9b023af0a79b1677c0b21e2cc0d74fc.tar.bz2
android-node-v8-89bf6c05e9b023af0a79b1677c0b21e2cc0d74fc.zip
build: allow custom PackageMaker path
Make PACKAGEMAKER customizable because PackageMaker is not necessarily installed in /Developer on OSX anymore. PR-URL: https://github.com/joyent/node/pull/9377 Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3baed6a15c..a71d796fbe 100644
--- a/Makefile
+++ b/Makefile
@@ -219,7 +219,7 @@ BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH)
BINARYTAR=$(BINARYNAME).tar
XZ=$(shell which xz > /dev/null 2>&1; echo $$?)
PKG=out/$(TARNAME).pkg
-packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
+PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
PKGSRC=iojs-$(DESTCPU)-$(RAWVER).tgz
ifdef NIGHTLY
@@ -270,7 +270,7 @@ $(PKG): release-only
mv $(PKGDIR)/usr/local/bin/iojs-universal $(PKGDIR)/usr/local/bin/iojs
rm -rf $(PKGDIR)/32
cat tools/osx-pkg.pmdoc/index.xml.tmpl | sed -e 's|__iojsversion__|'$(FULLVERSION)'|g' | sed -e 's|__npmversion__|'$(NPMVERSION)'|g' > tools/osx-pkg.pmdoc/index.xml
- $(packagemaker) \
+ $(PACKAGEMAKER) \
--id "org.nodejs.Node" \
--doc tools/osx-pkg.pmdoc \
--out $(PKG)