Debian Codegraph @

hmmer/makeTAGS.sh

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2
3 # Default: index both hmmer and easel. To do easel, need `find -L` to
4 # follow symlinks.
5 #
6 # Options:
7 # -x: only index hmmer, not easel.
8 #
9 # The -x option is used when the higher-level ~/src/makeTAGS.sh calls
10 # us, indexing entire stack of lab code (easel, hmmer3, hmmer4,
11 # infernal) without redundancy.
12 #
13
14 while [[ "$#" -gt 0 ]]; do case $1 in
15 -x) optx=1;;
16 *) echoscip-shell system . . echo. "Unknown option: $1"; exit 1;;
17 esac; shift; done
18
19 if [scip-shell system . . `[`. $optx ]; then
20 opt=""
21 excl=" -path ./easel -prune -or"
22 else
23 opt="-L"
24 excl=""
25 fi
26
27 etags configure.ac
28 etags -a INSTALL
29 etags -a LICENSE
30
31 findscip-shell system . . find. $opt . $excl -name "*.c" -print -or -name "*.h" -print | xargsscip-shell system . . xargs. etags -a
32 findscip-shell system . . find. $opt . $excl -name "*.pl" -print -or -name "*.pm" -print | xargsscip-shell system . . xargs. etags -a
33 findscip-shell system . . find. $opt . $excl -name "*.py" -print | xargsscip-shell system . . xargs. etags -a
34 findscip-shell system . . find. $opt . $excl -name "*.sh" -print | xargsscip-shell system . . xargs. etags -a
35 findscip-shell system . . find. $opt . $excl -name "*.md" -print | xargsscip-shell system . . xargs. etags -a
36 findscip-shell system . . find. $opt . $excl -name "*.tex" -print | xargsscip-shell system . . xargs. etags -a
37 findscip-shell system . . find. $opt . $excl -name "*.man" -print | xargsscip-shell system . . xargs. etags -a
38 findscip-shell system . . find. $opt . $excl -name "*.in" -print | xargsscip-shell system . . xargs. etags -a
39 findscip-shell system . . find. $opt . $excl -name "*.sqc" -print | xargsscip-shell system . . xargs. etags -a
40 findscip-shell system . . find. $opt . $excl -name "*README" -print | xargsscip-shell system . . xargs. etags -a
41
42