Author: jelmer
Date: 2006-03-19 16:18:38 +0000 (Sun, 19 Mar 2006)
New Revision: 14564

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14564

Log:
Remove dependencies when running distclean

Modified:
   branches/SAMBA_4_0/source/main.mk


Changeset:
Modified: branches/SAMBA_4_0/source/main.mk
===================================================================
--- branches/SAMBA_4_0/source/main.mk   2006-03-19 16:18:07 UTC (rev 14563)
+++ branches/SAMBA_4_0/source/main.mk   2006-03-19 16:18:38 UTC (rev 14564)
@@ -254,7 +254,7 @@
        @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 @@
 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)

Reply via email to