From: Bryan Henderson Date: Sun, 3 Nov 1996 09:03:30 +0000 (+0000) Subject: Create TAGS file for emacs. Like MAKE_CTAGS for vi. X-Git-Tag: REL2_0~286 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a505db6f330e558559e879f0a42a968665af4f11;p=postgresql Create TAGS file for emacs. Like MAKE_CTAGS for vi. --- diff --git a/src/MAKE_ETAGS b/src/MAKE_ETAGS new file mode 100644 index 0000000000..94b9597aa4 --- /dev/null +++ b/src/MAKE_ETAGS @@ -0,0 +1,10 @@ +#!/bin/sh +trap "rm -f /tmp/$$" 0 1 2 3 15 +rm -f ./TAGS +find `pwd`/ -type f -name '*.[chyl]' -print | \ + xargs etags --append --output=TAGS + +find . -type d -print | \ +while read DIR; do + [ "$DIR" != "." ] && ln -f -s `pwd`/TAGS $DIR +done