summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2017-10-22 10:43:05 -0400
committerRefael Ackermann <refack@gmail.com>2017-10-26 18:38:36 -0400
commit9ab648120c7b226976ba2dfc6a89fda06e09addb (patch)
treed1ed484a93a9f6e797f00f635136ee2271d320bf /Makefile
parent2be9198097a19169026fb73e263165e6cbee7243 (diff)
downloadandroid-node-v8-9ab648120c7b226976ba2dfc6a89fda06e09addb.tar.gz
android-node-v8-9ab648120c7b226976ba2dfc6a89fda06e09addb.tar.bz2
android-node-v8-9ab648120c7b226976ba2dfc6a89fda06e09addb.zip
build: improve `make clean`
also undocument the `vcbuild.bat` command since it's broken and seems to only be relevant to release builds PR-URL: https://github.com/nodejs/node/pull/16372 Refs: https://github.com/nodejs/node/pull/16010 Refs: https://github.com/nodejs/node/issues/16278 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fccf6451cc..4e974903a9 100644
--- a/Makefile
+++ b/Makefile
@@ -102,11 +102,15 @@ uninstall:
clean:
$(RM) -r out/Makefile $(NODE_EXE) $(NODE_G_EXE) out/$(BUILDTYPE)/$(NODE_EXE) \
- out/$(BUILDTYPE)/node.exp
+ out/$(BUILDTYPE)/node.exp
@if [ -d out ]; then find out/ -name '*.o' -o -name '*.a' -o -name '*.d' | xargs $(RM) -r; fi
$(RM) -r node_modules
@if [ -d deps/icu ]; then echo deleting deps/icu; $(RM) -r deps/icu; fi
$(RM) test.tap
+ # Next one is legacy remove this at some point
+ $(RM) -r test/tmp*
+ $(RM) -r test/.tmp*
+ $(MAKE) test-addons-clean
distclean:
$(RM) -r out