[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] tools/ocaml: ignore and clean .spot and .spit files
# HG changeset patch # User Andrew Cooper <andrew.cooper3@xxxxxxxxxx> # Date 1343821610 -3600 # Node ID 9d52ee4e4e6f15ba3215c72bee0a58dc0c177379 # Parent c379e77870aff938ca941a3acb760831039c19a6 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> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- diff -r c379e77870af -r 9d52ee4e4e6f .gitignore --- a/.gitignore Wed Aug 01 12:46:49 2012 +0100 +++ b/.gitignore Wed Aug 01 12:46:50 2012 +0100 @@ -11,6 +11,8 @@ *.bin *.bak *.tmp +*.spot +*.spit TAGS cscope.files cscope.in.out diff -r c379e77870af -r 9d52ee4e4e6f .hgignore --- a/.hgignore Wed Aug 01 12:46:49 2012 +0100 +++ b/.hgignore Wed Aug 01 12:46:50 2012 +0100 @@ -15,6 +15,8 @@ .*\.flc$ .*\.orig$ .*\.rej$ +.*\.spot$ +.*\.spit$ .*/a\.out$ .*/Modules\.symvers$ .*/cscope\..*$ diff -r c379e77870af -r 9d52ee4e4e6f tools/ocaml/Makefile.rules --- a/tools/ocaml/Makefile.rules Wed Aug 01 12:46:49 2012 +0100 +++ b/tools/ocaml/Makefile.rules Wed Aug 01 12:46:50 2012 +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 .*.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-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |