|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1 of 5] 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: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
diff -r e6266fc76d08 -r 7012e0d68f3b .gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,8 @@
*.bin
*.bak
*.tmp
+*.spot
+*.spit
TAGS
cscope.files
cscope.in.out
diff -r e6266fc76d08 -r 7012e0d68f3b .hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -15,6 +15,8 @@
.*\.flc$
.*\.orig$
.*\.rej$
+.*\.spot$
+.*\.spit$
.*/a\.out$
.*/Modules\.symvers$
.*/cscope\..*$
diff -r e6266fc76d08 -r 7012e0d68f3b tools/ocaml/Makefile.rules
--- a/tools/ocaml/Makefile.rules
+++ b/tools/ocaml/Makefile.rules
@@ -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 .*.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)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |