| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9a8acad commit 236491e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -138,7 +138,10 @@ ADDONS_BINDING_GYPS := \ | |||
| 138 | 138 | $(wildcard test/addons/*/binding.gyp)) | |
| 139 | 139 | ||
| 140 | 140 | # Implicitly depends on $(NODE_EXE), see the build-addons rule for rationale. | |
| 141 | - test/addons/.buildstamp: $(ADDONS_BINDING_GYPS) test/addons/.docbuildstamp | ||
| 141 | + # Depends on node-gyp package.json so that build-addons is (re)executed when | ||
| 142 | + # node-gyp is updated as part of an npm update. | ||
| 143 | + test/addons/.buildstamp: deps/npm/node_modules/node-gyp/package.json \ | ||
| 144 | + $(ADDONS_BINDING_GYPS) test/addons/.docbuildstamp | ||
| 142 | 145 | # Cannot use $(wildcard test/addons/*/) here, it's evaluated before | |
| 143 | 146 | # embedded addons have been generated from the documentation. | |
| 144 | 147 | for dirname in test/addons/*/; do \ | |
@@ -154,7 +157,7 @@ test/addons/.buildstamp: $(ADDONS_BINDING_GYPS) test/addons/.docbuildstamp | |||
| 154 | 157 | # if the subprocess touched anything so it pessimistically assumes that | |
| 155 | 158 | # .buildstamp and .docbuildstamp are out of date and need a rebuild. | |
| 156 | 159 | # Just goes to show that recursive make really is harmful... | |
| 157 | - # TODO(bnoordhuis) Force rebuild after gyp or node-gyp update. | ||
| 160 | + # TODO(bnoordhuis) Force rebuild after gyp update. | ||
| 158 | 161 | build-addons: $(NODE_EXE) test/addons/.buildstamp | |
| 159 | 162 | ||
| 160 | 163 | test-gc: all test/gc/node_modules/weak/build/Release/weakref.node | |
| Back | FazBrowse Home | New Git URL |
0 commit comments