Skip to content

Commit 219c80d

Browse files
author
Julien Gilli
committed
build: allow custom PackageMaker path
Make PACKAGEMAKER customizable because PackageMaker is not necessarily installed in /Developer on OSX anymore. PR: #9377 PR-URL: nodejs/node-v0.x-archive#9377 Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
1 parent f2a45ca commit 219c80d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ TARBALL=$(TARNAME).tar.gz
223223
BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH)
224224
BINARYTAR=$(BINARYNAME).tar.gz
225225
PKG=out/$(TARNAME).pkg
226-
packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
226+
PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
227227

228228
PKGSRC=nodejs-$(DESTCPU)-$(RAWVER).tgz
229229
ifdef NIGHTLY
@@ -273,7 +273,7 @@ $(PKG): release-only
273273
-create
274274
mv $(PKGDIR)/usr/local/bin/node-universal $(PKGDIR)/usr/local/bin/node
275275
rm -rf $(PKGDIR)/32
276-
$(packagemaker) \
276+
$(PACKAGEMAKER) \
277277
--id "org.nodejs.Node" \
278278
--doc tools/osx-pkg.pmdoc \
279279
--out $(PKG)

0 commit comments

Comments
 (0)