Re: make_ctags: use -I option to ignore pg_node_attr macro
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>,
Yugo NAGATA <nagata@sraoss.co.jp>
Cc: pgsql-hackers@postgresql.org
Date: 2022-10-12T17:27:29Z
Lists: pgsql-hackers
On 10.10.22 12:04, Alvaro Herrera wrote: > In my own tags script I just call "ctags -R", and I feed cscope with > these find lines > > (find $SRCDIR \( -name tmp_install -prune -o -name tmp_check -prune \) -o \( -name "*.[chly]" -o -iname "*makefile*" -o -name "*.mk" -o -name "*.in" -o -name "*.sh" -o -name "*.sgml" -o -name "*.sql" -o -name "*.p[lm]" \) -type f -print ; \ > find $BUILDDIR \( -name tmp_install -prune \) -o \( -name \*.h -a -type f \) -print ) > > which seems to give decent results. (Nowadays I wonder if it'd be > better to exclude the "*_d.h" files from the builddir.) > (I wonder why don't I have a prune for .git ...) Or use git ls-files.
Commits
-
Fix make_etags breakage on certain platforms.
- af26f28b9fdd 15.4 landed
- ae66716bf3ef 16.0 landed
-
Fix make_etags failure on Mac.
- 87f21d2c6890 16.0 landed
-
Enhance make_ctags and make_etags.
- d1e2a380cb91 16.0 cited