Author: metze Date: 2007-04-22 10:33:59 +0000 (Sun, 22 Apr 2007) New Revision: 22451
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22451 Log: allow SKIP_DEP_FILES=yes make metze Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm branches/SAMBA_4_0/source/main.mk Changeset: Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm =================================================================== --- branches/SAMBA_4_0/source/build/smb_build/makefile.pm 2007-04-22 10:11:33 UTC (rev 22450) +++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm 2007-04-22 10:33:59 UTC (rev 22451) @@ -637,10 +637,18 @@ ifneq (\$(MAKECMDGOALS),clean) ifneq (\$(MAKECMDGOALS),distclean) ifneq (\$(MAKECMDGOALS),realdistclean) +ifneq (\$(SKIP_DEP_FILES),yes) -include \$(DEP_FILES) endif endif endif +endif + +ifneq (\$(SKIP_DEP_FILES),yes) +clean:: + [EMAIL PROTECTED] Removing dependency files + [EMAIL PROTECTED] . -name '*.d' -o -name '*.hd' | xargs rm -f +endif "); } else { $self->output("include \$(srcdir)/static_deps.mk\n"); Modified: branches/SAMBA_4_0/source/main.mk =================================================================== --- branches/SAMBA_4_0/source/main.mk 2007-04-22 10:11:33 UTC (rev 22450) +++ branches/SAMBA_4_0/source/main.mk 2007-04-22 10:33:59 UTC (rev 22451) @@ -421,7 +421,3 @@ configure: ./autogen.sh - -clean:: - @echo Removing dependency files - @find . -name \*.d -o -name \*.hd | xargs rm -f
