From 61e8771334c78455ab4fcda9bed4a8925562eb5d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 22 Apr 2007 10:33:59 +0000 Subject: [PATCH] r22451: allow SKIP_DEP_FILES=yes make metze --- source/build/smb_build/makefile.pm | 8 ++++++++ source/main.mk | 4 ---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/source/build/smb_build/makefile.pm b/source/build/smb_build/makefile.pm index 433fd9658bd..1102e85fef1 100644 --- a/source/build/smb_build/makefile.pm +++ b/source/build/smb_build/makefile.pm @@ -637,10 +637,18 @@ sub write($$) 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:: + \@echo Removing dependency files + \@find . -name '*.d' -o -name '*.hd' | xargs rm -f +endif "); } else { $self->output("include \$(srcdir)/static_deps.mk\n"); diff --git a/source/main.mk b/source/main.mk index 4084d7ba4bd..88eebe963ac 100644 --- a/source/main.mk +++ b/source/main.mk @@ -421,7 +421,3 @@ dist:: distclean idl_full manpages configure configure: ./autogen.sh - -clean:: - @echo Removing dependency files - @find . -name \*.d -o -name \*.hd | xargs rm -f -- 2.11.4.GIT