aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2002-07-17 12:42:56 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2002-07-17 12:42:56 +0000
commitcc08a12369fd1a24d8173d5d10af0df880967bfb (patch)
treee2579944a0408d0250dd8215e4399b7fa4d106e2
parent79edd4bcaecb4f58cc612119b560a528766a2743 (diff)
ajout de make otags utilisant otags plutot que etags
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2892 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 57aac43c3..391f2631a 100644
--- a/Makefile
+++ b/Makefile
@@ -791,6 +791,19 @@ tags:
"--regex=/val[ \t]+\([^ \t]+\)/\1/" \
"--regex=/module[ \t]+\([^ \t]+\)/\1/"
+otags:
+ find . -maxdepth 3 -name "*.ml" -o -name "*.mli" \
+ | sort -r | xargs otags
+ find . -maxdepth 3 -name "*.ml4" | sort -r | xargs \
+ etags --append --language=none\
+ "--regex=/let[ \t]+\([^ \t]+\)/\1/" \
+ "--regex=/let[ \t]+rec[ \t]+\([^ \t]+\)/\1/" \
+ "--regex=/and[ \t]+\([^ \t]+\)/\1/" \
+ "--regex=/type[ \t]+\([^ \t]+\)/\1/" \
+ "--regex=/exception[ \t]+\([^ \t]+\)/\1/" \
+ "--regex=/val[ \t]+\([^ \t]+\)/\1/" \
+ "--regex=/module[ \t]+\([^ \t]+\)/\1/"
+
###########################################################################
### Special rules