Re: make_ctags: use -I option to ignore pg_node_attr macro - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: make_ctags: use -I option to ignore pg_node_attr macro
Date
Msg-id 3ade5b3d-3a3a-f77d-944b-ab35c90f558d@enterprisedb.com
Whole thread Raw
In response to Re: make_ctags: use -I option to ignore pg_node_attr macro  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List 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.



pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: [PoC] Let libpq reject unexpected authentication requests
Next
From: Jeff Davis
Date:
Subject: Re: Support for Rust