summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/main.mk b/source4/main.mk
index e9ff907ada..a472bf5a25 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -254,7 +254,7 @@ clean:: clean_pch
@echo Removing proto headers
@-rm -f $(PROTO_HEADERS)
-distclean: clean
+distclean: clean clean_deps
-rm -f include/config.h include/smb_build.h
-rm -f Makefile
-rm -f config.status
@@ -373,5 +373,6 @@ DOCBOOK_MANPAGE_URL = http://docbook.sourceforge.net/release/xsl/current/manpage
DEP_FILES = $(patsubst %.ho,%.hd,$(patsubst %.o,%.d,$(ALL_OBJS))) \
include/includes.d
-clean-deps:
- rm -f $(DEPFILES)
+clean_deps:
+ @echo Removing dependency files
+ @rm -f $(DEP_FILES)