Skip to content

Commit 89bf6c0

Browse files
Julien Gillicjihrig
Julien Gilli
authored andcommitted
build: allow custom PackageMaker path
Make PACKAGEMAKER customizable because PackageMaker is not necessarily installed in /Developer on OSX anymore. PR-URL: nodejs/node-v0.x-archive#9377 Reviewed-By: Timothy J Fontaine <[email protected]>
1 parent f58e596 commit 89bf6c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH)
219219
BINARYTAR=$(BINARYNAME).tar
220220
XZ=$(shell which xz > /dev/null 2>&1; echo $$?)
221221
PKG=out/$(TARNAME).pkg
222-
packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
222+
PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
223223

224224
PKGSRC=iojs-$(DESTCPU)-$(RAWVER).tgz
225225
ifdef NIGHTLY
@@ -270,7 +270,7 @@ $(PKG): release-only
270270
mv $(PKGDIR)/usr/local/bin/iojs-universal $(PKGDIR)/usr/local/bin/iojs
271271
rm -rf $(PKGDIR)/32
272272
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
273-
$(packagemaker) \
273+
$(PACKAGEMAKER) \
274274
--id "org.nodejs.Node" \
275275
--doc tools/osx-pkg.pmdoc \
276276
--out $(PKG)

0 commit comments

Comments
 (0)