Gianni Tedesco
2010-Oct-25 16:38 UTC
[Xen-devel] [PATCH]: ocaml: delete dependency files during make clean
Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com> 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) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel