build: regenerate out/Makefile from within the main Makefile
authoreddy_me08@yahoo.com <eddy_me08@yahoo.com>
Tue, 29 Nov 2011 14:31:31 +0000 (16:31 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 29 Nov 2011 18:35:58 +0000 (19:35 +0100)
Fixes #2147.

Makefile

index 4c00d44..81c19eb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,8 @@ all: out/Makefile
 
 out/Release/node: all
 
-out/Makefile: node.gyp deps/uv/uv.gyp
+out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp deps/zlib/zlib.gyp deps/v8/build/common.gypi deps/v8/tools/gyp/v8.gyp node.gyp options.gypi
+       tools/gyp_node -f make
 
 install uninstall:
        @echo '`make $(@)` is not implemented yet. Bug bnoordhuis about it in #node.js'