From a8974c567064fb4e39908fe9d60503d8de5f8bea Mon Sep 17 00:00:00 2001 From: larsr Date: Mon, 16 Dec 2013 15:16:40 +0100 Subject: make clean should not remove SKIP files Add new make target 'distclean' that removes files created by configure. SKIP files are created by configure for instance if configured --without-javac. They should only be removed if one has to reconfigure, otherwise 'make clean; make' breaks. --- Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index d1fd64632c..d3d81c8817 100644 --- a/Makefile.in +++ b/Makefile.in @@ -992,10 +992,13 @@ $(IBIN_DIR): clean: check_recreate_primary_bootstrap rm -f *~ *.bak config.log config.status prebuilt.files ibin/* - find . -type f -name SKIP -print | xargs $(RM) cd erts && ERL_TOP=$(ERL_TOP) $(MAKE) clean cd lib && ERL_TOP=$(ERL_TOP) $(MAKE) clean BUILD_ALL=true +distclean: clean + find . -type f -name SKIP -print | xargs $(RM) + find . -type f -name SKIP-APPLICATIONS -print | xargs $(RM) + # # Just wipe out emulator, not libraries # -- cgit v1.2.3