@@ -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
@@ -277,7 +277,7 @@ release-only:
277
277
@if [ " $( shell git status --porcelain | egrep -v ' ^\?\? ' ) " = " " ]; then \
278
278
exit 0 ; \
279
279
else \
280
- echo " " >&2 ; \
280
+ echo " " >&2 ; \
281
281
echo " The git repository is not clean." >&2 ; \
282
282
echo " Please commit changes before building release tarball." >&2 ; \
283
283
echo " " >&2 ; \
@@ -288,17 +288,21 @@ release-only:
288
288
@if [ " $( DISTTYPE) " != " release" -o " $( RELEASE) " = " 1" ]; then \
289
289
exit 0; \
290
290
else \
291
- echo " " >&2 ; \
291
+ echo " " >&2 ; \
292
292
echo " #NODE_VERSION_IS_RELEASE is set to $( RELEASE) ." >&2 ; \
293
- echo " Did you remember to update src/node_version.h?" >&2 ; \
294
- echo " " >&2 ; \
293
+ echo " Did you remember to update src/node_version.h?" >&2 ; \
294
+ echo " " >&2 ; \
295
295
exit 1 ; \
296
296
fi
297
297
298
298
$(PKG ) : release-only
299
299
rm -rf $(PKGDIR )
300
300
rm -rf out/deps out/Release
301
- $(PYTHON ) ./configure --dest-cpu=x64 --tag=$(TAG )
301
+ $(PYTHON ) ./configure \
302
+ --dest-cpu=x64 \
303
+ --tag=$(TAG ) \
304
+ --release-urlbase=$(RELEASE_URLBASE ) \
305
+ $(CONFIG_FLAGS )
302
306
$(MAKE ) install V=$(V ) DESTDIR=$(PKGDIR )
303
307
SIGN=" $( CODESIGN_CERT) " PKGDIR=" $( PKGDIR) " bash tools/osx-codesign.sh
304
308
cat tools/osx-pkg.pmdoc/index.xml.tmpl \
@@ -354,8 +358,13 @@ doc-upload: tar
354
358
ssh $(STAGINGSERVER ) " touch staging/$( DISTTYPEDIR) /$( FULLVERSION) /doc.done"
355
359
356
360
$(TARBALL ) -headers : config.gypi release-only
357
- $(PYTHON ) ./configure --prefix=/ --dest-cpu=$(DESTCPU ) --tag=$(TAG ) $(CONFIG_FLAGS )
358
- HEADERS_ONLY=1 $(PYTHON ) tools/install.py install ' $(TARNAME)' ' $(PREFIX)'
361
+ $(PYTHON ) ./configure \
362
+ --prefix=/ \
363
+ --dest-cpu=$(DESTCPU ) \
364
+ --tag=$(TAG ) \
365
+ --release-urlbase=$(RELEASE_URLBASE ) \
366
+ $(CONFIG_FLAGS )
367
+ HEADERS_ONLY=1 $(PYTHON ) tools/install.py install ' $(TARNAME)' ' /'
359
368
find $(TARNAME ) / -type l | xargs rm # annoying on windows
360
369
tar -cf $(TARNAME ) -headers.tar $(TARNAME )
361
370
rm -rf $(TARNAME )
@@ -379,7 +388,12 @@ endif
379
388
$(BINARYTAR ) : release-only
380
389
rm -rf $(BINARYNAME )
381
390
rm -rf out/deps out/Release
382
- $(PYTHON ) ./configure --prefix=/ --dest-cpu=$(DESTCPU ) --tag=$(TAG ) $(CONFIG_FLAGS )
391
+ $(PYTHON ) ./configure \
392
+ --prefix=/ \
393
+ --dest-cpu=$(DESTCPU ) \
394
+ --tag=$(TAG ) \
395
+ --release-urlbase=$(RELEASE_URLBASE ) \
396
+ $(CONFIG_FLAGS )
383
397
$(MAKE ) install DESTDIR=$(BINARYNAME ) V=$(V ) PORTABLE=1
384
398
cp README.md $(BINARYNAME )
385
399
cp LICENSE $(BINARYNAME )
@@ -446,7 +460,7 @@ bench-all: bench bench-misc bench-array bench-buffer bench-url bench-events
446
460
bench : bench-net bench-http bench-fs bench-tls
447
461
448
462
bench-http-simple :
449
- benchmark/http_simple_bench.sh
463
+ benchmark/http_simple_bench.sh
450
464
451
465
bench-idle :
452
466
$(NODE ) benchmark/idle_server.js &
0 commit comments