@@ -156,7 +156,7 @@ test-timers-clean:
156
156
157
157
apidoc_sources = $(wildcard doc/api/* .markdown)
158
158
apidocs = $(addprefix out/,$(apidoc_sources:.markdown=.html ) ) \
159
- $(addprefix out/,$(apidoc_sources:.markdown=.json ) )
159
+ $(addprefix out/,$(apidoc_sources:.markdown=.json ) )
160
160
161
161
apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets
162
162
@@ -269,7 +269,7 @@ release-only:
269
269
@if [ " $( shell git status --porcelain | egrep -v ' ^\?\? ' ) " = " " ]; then \
270
270
exit 0 ; \
271
271
else \
272
- echo " " >&2 ; \
272
+ echo " " >&2 ; \
273
273
echo " The git repository is not clean." >&2 ; \
274
274
echo " Please commit changes before building release tarball." >&2 ; \
275
275
echo " " >&2 ; \
@@ -280,17 +280,21 @@ release-only:
280
280
@if [ " $( DISTTYPE) " != " release" -o " $( RELEASE) " = " 1" ]; then \
281
281
exit 0; \
282
282
else \
283
- echo " " >&2 ; \
283
+ echo " " >&2 ; \
284
284
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 ; \
287
287
exit 1 ; \
288
288
fi
289
289
290
290
$(PKG ) : release-only
291
291
rm -rf $(PKGDIR )
292
292
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 )
294
298
$(MAKE ) install V=$(V ) DESTDIR=$(PKGDIR )
295
299
SIGN=" $( CODESIGN_CERT) " PKGDIR=" $( PKGDIR) " bash tools/osx-codesign.sh
296
300
cat tools/osx-pkg.pmdoc/index.xml.tmpl \
@@ -346,7 +350,12 @@ doc-upload: tar
346
350
ssh $(STAGINGSERVER ) " touch staging/$( DISTTYPEDIR) /$( FULLVERSION) /doc.done"
347
351
348
352
$(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 )
350
359
HEADERS_ONLY=1 $(PYTHON ) tools/install.py install ' $(TARNAME)' ' /'
351
360
find $(TARNAME ) / -type l | xargs rm # annoying on windows
352
361
tar -cf $(TARNAME ) -headers.tar $(TARNAME )
@@ -371,7 +380,12 @@ endif
371
380
$(BINARYTAR ) : release-only
372
381
rm -rf $(BINARYNAME )
373
382
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 )
375
389
$(MAKE ) install DESTDIR=$(BINARYNAME ) V=$(V ) PORTABLE=1
376
390
cp README.md $(BINARYNAME )
377
391
cp LICENSE $(BINARYNAME )
@@ -438,7 +452,7 @@ bench-all: bench bench-misc bench-array bench-buffer bench-url bench-events
438
452
bench : bench-net bench-http bench-fs bench-tls
439
453
440
454
bench-http-simple :
441
- benchmark/http_simple_bench.sh
455
+ benchmark/http_simple_bench.sh
442
456
443
457
bench-idle :
444
458
$(NODE ) benchmark/idle_server.js &
0 commit comments