Makefile: add pickrand
[cmccabe-bin] / cct
1 #!/bin/sh
2
3 die() {
4         echo $@
5         exit 1
6 }
7
8 if ctags --version | grep -i exuberant ; then
9         :
10 else
11         die "You should install exuberant-ctags. \
12 The default ctags program often sucks big-time."
13 fi
14
15 rm -f tags || die "couldn't remove tags file"
16
17 # Need vim 6.2 or higher
18 # for the case-insensitive sorting (sort=folded)
19 ctags -B --recurse \
20  --totals=yes \
21  --tag-relative=no \
22  --sort=fold \
23  --file-scope=yes \
24  -f tags .