@@ -156,7 +156,7 @@ test-timers-clean:
156156
157157apidoc_sources = $(wildcard doc/api/* .markdown)
158158apidocs = $(addprefix out/,$(apidoc_sources:.markdown=.html ) ) \
159- $(addprefix out/,$(apidoc_sources:.markdown=.json ) )
159+ $(addprefix out/,$(apidoc_sources:.markdown=.json ) )
160160
161161apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets
162162
@@ -269,7 +269,7 @@ release-only:
269269 @if [ " $( shell git status --porcelain | egrep -v ' ^\?\? ' ) " = " " ]; then \
270270 exit 0 ; \
271271 else \
272- echo " " >&2 ; \
272+ echo " " >&2 ; \
273273 echo " The git repository is not clean." >&2 ; \
274274 echo " Please commit changes before building release tarball." >&2 ; \
275275 echo " " >&2 ; \
@@ -280,17 +280,21 @@ release-only:
280280 @if [ " $( DISTTYPE) " != " release" -o " $( RELEASE) " = " 1" ]; then \
281281 exit 0; \
282282 else \
283- echo " " >&2 ; \
283+ echo " " >&2 ; \
284284 echo " #NODE_VERSION_IS_RELEASE is set to $( RELEASE) ." >&2 ; \
285- echo " Did you remember to update src/node_version.h?" >&2 ; \
286- echo " " >&2 ; \
285+ echo " Did you remember to update src/node_version.h?" >&2 ; \
286+ echo " " >&2 ; \
287287 exit 1 ; \
288288 fi
289289
290290$(PKG ) : release-only
291291 rm -rf $(PKGDIR )
292292 rm -rf out/deps out/Release
293- $(PYTHON ) ./configure --dest-cpu=x64 --tag=$(TAG )
293+ $(PYTHON ) ./configure \
294+ --dest-cpu=x64 \
295+ --tag=$(TAG ) \
296+ --release-urlbase=$(RELEASE_URLBASE ) \
297+ $(CONFIG_FLAGS )
294298 $(MAKE ) install V=$(V ) DESTDIR=$(PKGDIR )
295299 SIGN=" $( CODESIGN_CERT) " PKGDIR=" $( PKGDIR) " bash tools/osx-codesign.sh
296300 cat tools/osx-pkg.pmdoc/index.xml.tmpl \
@@ -346,7 +350,12 @@ doc-upload: tar
346350 ssh $(STAGINGSERVER ) " touch staging/$( DISTTYPEDIR) /$( FULLVERSION) /doc.done"
347351
348352$(TARBALL ) -headers : config.gypi release-only
349- $(PYTHON ) ./configure --prefix=/ --dest-cpu=$(DESTCPU ) --tag=$(TAG ) $(CONFIG_FLAGS )
353+ $(PYTHON ) ./configure \
354+ --prefix=/ \
355+ --dest-cpu=$(DESTCPU ) \
356+ --tag=$(TAG ) \
357+ --release-urlbase=$(RELEASE_URLBASE ) \
358+ $(CONFIG_FLAGS )
350359 HEADERS_ONLY=1 $(PYTHON ) tools/install.py install ' $(TARNAME)' ' /'
351360 find $(TARNAME ) / -type l | xargs rm # annoying on windows
352361 tar -cf $(TARNAME ) -headers.tar $(TARNAME )
@@ -371,7 +380,12 @@ endif
371380$(BINARYTAR ) : release-only
372381 rm -rf $(BINARYNAME )
373382 rm -rf out/deps out/Release
374- $(PYTHON ) ./configure --prefix=/ --dest-cpu=$(DESTCPU ) --tag=$(TAG ) $(CONFIG_FLAGS )
383+ $(PYTHON ) ./configure \
384+ --prefix=/ \
385+ --dest-cpu=$(DESTCPU ) \
386+ --tag=$(TAG ) \
387+ --release-urlbase=$(RELEASE_URLBASE ) \
388+ $(CONFIG_FLAGS )
375389 $(MAKE ) install DESTDIR=$(BINARYNAME ) V=$(V ) PORTABLE=1
376390 cp README.md $(BINARYNAME )
377391 cp LICENSE $(BINARYNAME )
@@ -438,7 +452,7 @@ bench-all: bench bench-misc bench-array bench-buffer bench-url bench-events
438452bench : bench-net bench-http bench-fs bench-tls
439453
440454bench-http-simple :
441- benchmark/http_simple_bench.sh
455+ benchmark/http_simple_bench.sh
442456
443457bench-idle :
444458 $(NODE ) benchmark/idle_server.js &
0 commit comments