aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Pierre Boutillier <pierre.boutillier@ens-lyon.org>2015-02-28 15:36:51 +0100
committerGravatar Pierre Boutillier <pierre.boutillier@ens-lyon.org>2015-02-28 15:36:51 +0100
commit73f04b525ef4283dfa999fbf2b00860b35be5a92 (patch)
treeb9ecf23138c4798ea63d422b9531a863051f137b /tools
parentdedd99c3e8c455514a2cffa9e4015d395572ab34 (diff)
Coq_makefile clean target erases .coq-native dirs in . if they are empty
Diffstat (limited to 'tools')
-rw-r--r--tools/coq_makefile.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/coq_makefile.ml b/tools/coq_makefile.ml
index 568c909ed..7491c1f9a 100644
--- a/tools/coq_makefile.ml
+++ b/tools/coq_makefile.ml
@@ -330,6 +330,7 @@ let clean sds sps =
if !some_vfile then
begin
print "\trm -f $(OBJFILES) $(OBJFILES:.o=.native) $(NATIVEFILES)\n";
+ print "\tfind . -name .coq-native -type d -empty -delete\n";
print "\trm -f $(VOFILES) $(VOFILES:.vo=.vio) $(GFILES) $(VFILES:.v=.v.d) $(VFILES:=.beautified) $(VFILES:=.old)\n"
end;
print "\trm -f all.ps all-gal.ps all.pdf all-gal.pdf all.glob $(VFILES:.v=.glob) $(VFILES:.v=.tex) $(VFILES:.v=.g.tex) all-mli.tex\n";