Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Changelog
[xen-unstable] tools/ocaml: ignore and clean .spot and .spit files
 

Index | Next | Previous | View Flat


patchbot at xen

Aug 1, 2012, 2:11 PM


Views: 109
Permalink
[xen-unstable] tools/ocaml: ignore and clean .spot and .spit files

# HG changeset patch
# User Andrew Cooper <andrew.cooper3 [at] citrix>
# 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 [at] citrix>
Acked-by: Ian Jackson <ian.jackson [at] eu>
Committed-by: Ian Campbell <ian.campbell [at] citrix>
---


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 [at] lists
http://lists.xensource.com/xen-changelog

Subject User Time
[xen-unstable] tools/ocaml: ignore and clean .spot and .spit files patchbot at xen Aug 1, 2012, 2:11 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.