File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed
Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change 1- clean.patch by Sergei Golovan <sgolovan@nes.ru>
2-
3- Erlang leaves many files after make clean. This patch contains
4- a hack to remove them.
5-
1+ diff --git a/Makefile.in b/Makefile.in
2+ index ec5988348c..d76d79e589 100644
63--- a/Makefile.in
74+++ b/Makefile.in
8- @@ -931,6 +931,7 @@
5+ @@ -931,11 +931,214 @@ clean: check_recreate_primary_bootstrap
96 rm -f *~ *.bak config.log config.status prebuilt.files ibin/*
107 cd erts && ERL_TOP=$(ERL_TOP) $(MAKE) clean
118 cd lib && ERL_TOP=$(ERL_TOP) $(MAKE) clean BUILD_ALL=true
129+ $(MAKE) additional_clean
13-
10+
1411 distclean: clean
1512 find . -type f -name SKIP -print | xargs $(RM)
16- @@ -989,3 +990,204 @@
17- $(NO_DIALYZER_APPS): $$(patsubst %,%_build,$$@)
18- $(APPS_TEST): $$(patsubst %_test,%_build,$$@)
19- ERL_TOP=$(ERL_TOP) TYPE=$(TYPE) $(MAKE) -C lib/$(patsubst %_test,%,$@) test
20- +
13+ find . -type f -name SKIP-APPLICATIONS -print | xargs $(RM)
14+
2115+ additional_clean:
2216+ rm -rf $(ERL_TOP)/bin
2317+ rm -rf $(ERL_TOP)/bootstrap/bin/erl
@@ -218,3 +212,8 @@ a hack to remove them.
218212+ rm -rf $(ERL_TOP)/system/doc/tutorial/erl_interface.xml
219213+ rm -rf $(ERL_TOP)/system/doc/tutorial/example.xml
220214+ rm -rf $(ERL_TOP)/system/doc/tutorial/nif.xml
215+ +
216+ +
217+ #
218+ # Just wipe out emulator, not libraries
219+ #
You can’t perform that action at this time.
0 commit comments