diff options
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/smb_build/makefile.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 433fd9658b..1102e85fef 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/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"); |