Commit 27091acf authored by Andrew Cooper's avatar Andrew Cooper

tools/ocaml: ignore and clean .spot and .spit files

Newer ocaml toolchains generate .spot and .spit files which are ocaml metadata
about their respective source files.

Add them to the clean rules as well as the .{hg,git}ignore files.
Signed-off-by: default avatarAndrew Cooper <andrew.cooper3@citrix.com>
Acked-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
Committed-by: default avatarIan Campbell <ian.campbell@citrix.com>
parent 025e760e
......@@ -11,6 +11,8 @@
*.bin
*.bak
*.tmp
*.spot
*.spit
TAGS
cscope.files
cscope.in.out
......
......@@ -15,6 +15,8 @@
.*\.flc$
.*\.orig$
.*\.rej$
.*\.spot$
.*\.spit$
.*/a\.out$
.*/Modules\.symvers$
.*/cscope\..*$
......
......@@ -45,7 +45,7 @@ ALL_OCAML_OBJ_SOURCES=$(addsuffix .ml, $(ALL_OCAML_OBJS))
$(call quiet-command, $(OCAMLDEP) $(ALL_OCAML_OBJ_SOURCES) *.mli $o,MLDEP,)
clean: $(CLEAN_HOOKS)
$(Q)rm -f .*.d *.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 *.spot *.spit $(LIBS) $(PROGRAMS) $(GENERATED_FILES) .ocamldep.make
quiet-command = $(if $(V),$1,@printf " %-8s %s\n" "$2" "$3" && $1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment