aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Cornish <[email protected]>2009-12-14 14:50:12 -0800
committerSimon Cornish <[email protected]>2009-12-14 14:50:12 -0800
commit2468a4795b6a0b0c99b70ffe623629a5ca0199ff (patch)
tree51926f1aa737f25772c91be67d41ecf969852eab
parent856e8f2ebddd70f6556fbaf87e0b624d6e3c5cb6 (diff)
downloadotp-2468a4795b6a0b0c99b70ffe623629a5ca0199ff.tar.gz
otp-2468a4795b6a0b0c99b70ffe623629a5ca0199ff.tar.bz2
otp-2468a4795b6a0b0c99b70ffe623629a5ca0199ff.zip
Fix 'make clean' in erts with debug builds under Darwin
The Apple compiler creates DWARF debugging symbols in a bundle (ie. a directory) named <name>.dSYM In order for make clean to work correctly, the rm command needs -r
-rw-r--r--erts/emulator/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in
index a2061134a5..903e1e96ba 100644
--- a/erts/emulator/Makefile.in
+++ b/erts/emulator/Makefile.in
@@ -402,7 +402,7 @@ endif
$(RM) -f $(TARGET)/*/*/*.c $(TARGET)/*/*/*.h $(TARGET)/*/*/*.S
$(RM) -f $(ERL_TOP)/erts/emulator/obj/$(TARGET)/*/*/*.o
$(RM) -f $(BINDIR)/beam $(BINDIR)/beam.*
- $(RM) -f $(BINDIR)/child_setup $(BINDIR)/child_setup.*
+ $(RM) -rf $(BINDIR)/child_setup $(BINDIR)/child_setup.*
$(RM) -f $(BINDIR)/hipe_mkliterals $(BINDIR)/hipe_mkliterals.*
@set -e ; cd zlib && $(MAKE) clean
@set -e ; cd pcre && $(MAKE) clean