From: Gianni Tedesco Subject: [PATCH]: ocaml: delete dependency files during make clean Date: Mon, 25 Oct 2010 17:38:15 +0100 Message-ID: <1288024695.12843.4436.camel@qabil.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson , Xen Devel List-Id: xen-devel@lists.xenproject.org Signed-off-by: Gianni Tedesco diff -r 2e8bdff60d01 tools/ocaml/Makefile.rules --- a/tools/ocaml/Makefile.rules Sun Oct 24 13:18:26 2010 +0100 +++ b/tools/ocaml/Makefile.rules Mon Oct 25 17:37:01 2010 +0100 @@ -45,7 +45,7 @@ ALL_OCAML_OBJ_SOURCES=$(addsuffix .ml, $ $(call quiet-command, $(OCAMLDEP) $(ALL_OCAML_OBJ_SOURCES) *.mli $o,MLDEP,) clean: $(CLEAN_HOOKS) - $(Q)rm -f *.o *.so *.a *.cmo *.cmi *.cma *.cmx *.cmxa *.annot $(LIBS) $(PROGRAMS) $(GENERATED_FILES) .ocamldep.make + $(Q)rm -f .*.d *.o *.so *.a *.cmo *.cmi *.cma *.cmx *.cmxa *.annot $(LIBS) $(PROGRAMS) $(GENERATED_FILES) .ocamldep.make quiet-command = $(if $(V),$1,@printf " %-8s %s\n" "$2" "$3" && $1)