head	1.12;
access;
symbols
	REL9_0_0:1.12
	REL9_1_ALPHA1:1.12
	REL9_0_RC1:1.12
	REL9_0_BETA4:1.12
	REL9_0_STABLE:1.12.0.14
	REL9_0_BETA3:1.12
	REL9_0_BETA2:1.12
	REL7_4_29:1.7
	REL8_0_25:1.10
	REL8_1_21:1.10
	REL8_2_17:1.11
	REL8_3_11:1.11
	REL8_4_4:1.12
	REL9_0_BETA1:1.12
	REL9_0_ALPHA5_BRANCH:1.12.0.12
	REL9_0_ALPHA5:1.12
	REL7_4_28:1.7
	REL8_0_24:1.10
	REL8_1_20:1.10
	REL8_2_16:1.11
	REL8_3_10:1.11
	REL8_4_3:1.12
	REL9_0_ALPHA4:1.12
	REL9_0_ALPHA4_BRANCH:1.12.0.10
	REL8_5_ALPHA3:1.12
	REL8_5_ALPHA3_BRANCH:1.12.0.8
	REL7_4_27:1.7
	REL8_0_23:1.10
	REL8_1_19:1.10
	REL8_2_15:1.11
	REL8_3_9:1.11
	REL8_4_2:1.12
	REL8_5_ALPHA2:1.12
	REL8_5_ALPHA2_BRANCH:1.12.0.6
	REL7_4_26:1.7
	REL8_0_22:1.10
	REL8_1_18:1.10
	REL8_2_14:1.11
	REL8_3_8:1.11
	REL8_4_1:1.12
	REL8_5_ALPHA1:1.12
	REL8_5_ALPHA1_BRANCH:1.12.0.4
	REL8_4_STABLE:1.12.0.2
	REL8_4_0:1.12
	REL8_4_RC2:1.12
	REL8_4_RC1:1.12
	REL8_4_BETA2:1.12
	REL8_4_BETA1:1.12
	REL7_4_25:1.7
	REL8_0_21:1.10
	REL8_1_17:1.10
	REL8_2_13:1.11
	REL8_3_7:1.11
	REL7_4_24:1.7
	REL8_0_20:1.10
	REL8_1_16:1.10
	REL8_2_12:1.11
	REL8_3_6:1.11
	REL7_4_23:1.7
	REL8_0_19:1.10
	REL8_1_15:1.10
	REL8_2_11:1.11
	REL8_3_5:1.11
	REL7_4_22:1.7
	REL8_0_18:1.10
	REL8_1_14:1.10
	REL8_2_10:1.11
	REL8_3_4:1.11
	REL7_4_21:1.7
	REL8_0_17:1.10
	REL8_1_13:1.10
	REL8_2_9:1.11
	REL8_3_3:1.11
	REL7_4_20:1.7
	REL8_0_16:1.10
	REL8_1_12:1.10
	REL8_2_8:1.11
	REL8_3_2:1.11
	REL8_2_7:1.11
	REL8_3_1:1.11
	REL8_3_STABLE:1.11.0.4
	REL8_3_0:1.11
	REL8_3_RC2:1.11
	REL7_3_21:1.6
	REL7_4_19:1.7
	REL8_0_15:1.10
	REL8_1_11:1.10
	REL8_2_6:1.11
	REL8_3_RC1:1.11
	REL8_3_BETA4:1.11
	REL8_3_BETA3:1.11
	REL8_3_BETA2:1.11
	REL8_3_BETA1:1.11
	REL7_3_20:1.6
	REL7_4_18:1.7
	REL8_0_14:1.10
	REL8_1_10:1.10
	REL8_2_5:1.11
	REL7_3_19:1.6
	REL7_4_17:1.7
	REL8_0_13:1.10
	REL8_1_9:1.10
	REL8_2_4:1.11
	REL8_0_12:1.10
	REL8_1_8:1.10
	REL8_2_3:1.11
	REL7_3_18:1.6
	REL7_4_16:1.7
	REL8_0_11:1.10
	REL8_1_7:1.10
	REL8_2_2:1.11
	REL8_0_10:1.10
	REL8_1_6:1.10
	REL8_2_1:1.11
	REL7_4_15:1.7
	REL7_3_17:1.6
	REL8_2_STABLE:1.11.0.2
	REL8_2_0:1.11
	REL8_2_RC1:1.11
	REL8_2_BETA3:1.11
	REL8_2_BETA2:1.11
	REL8_1_5:1.10
	REL8_0_9:1.10
	REL7_4_14:1.7
	REL7_3_16:1.6
	REL8_2_BETA1:1.11
	REL7_3_15:1.6
	REL7_4_13:1.7
	REL8_0_8:1.10
	REL8_1_4:1.10
	REL7_3_14:1.6
	REL7_4_12:1.7
	REL8_0_7:1.10
	REL8_1_3:1.10
	REL7_3_13:1.6
	REL7_4_11:1.7
	REL8_0_6:1.10
	REL8_1_2:1.10
	REL7_3_12:1.6
	REL7_4_10:1.7
	REL8_0_5:1.10
	REL8_1_1:1.10
	REL8_1_STABLE:1.10.0.6
	REL8_1_0:1.10
	REL8_1_0RC1:1.10
	REL8_1_0BETA4:1.10
	REL8_1_0BETA3:1.10
	REL7_3_11:1.6
	REL7_4_9:1.7
	REL8_0_4:1.10
	REL8_1_0BETA2:1.10
	REL8_1_0BETA1:1.10
	REL7_2_8:1.4
	REL7_3_10:1.6
	REL7_4_8:1.7
	REL8_0_3:1.10
	REL8_0_2:1.10
	REL7_2_7:1.4
	REL7_3_9:1.6
	REL7_4_7:1.7
	REL8_0_1:1.10
	REL8_0_STABLE:1.10.0.4
	REL8_0_0:1.10.0.2
	REL8_0_0RC5:1.10
	REL8_0_0RC4:1.10
	REL8_0_0RC3:1.10
	REL8_0_0RC2:1.10
	REL8_0_0RC1:1.10
	REL8_0_0BETA5:1.10
	REL8_0_0BETA4:1.10
	REL7_4_6:1.7
	REL7_3_8:1.6
	REL7_2_6:1.4
	REL8_0_0BETA3:1.10
	REL8_0_0BETA2:1.10
	REL7_2_5:1.4
	REL7_4_5:1.7
	REL7_3_7:1.6
	REL7_4_4:1.7
	REL8_0_0BETA1:1.10
	REL7_4_3:1.7
	REL7_4_2:1.7
	REL7_3_6:1.6
	REL7_4_1:1.7
	REL7_3_5:1.6
	REL7_4:1.7
	REL7_4_RC2:1.7
	REL7_4_STABLE:1.7.0.4
	REL7_4_RC1:1.7
	REL7_4_BETA5:1.7
	REL7_4_BETA4:1.7
	REL7_4_BETA3:1.7
	REL7_4_BETA2:1.7
	WIN32_DEV:1.7.0.2
	REL7_4_BETA1:1.7
	REL7_3_4:1.6
	REL7_3_2:1.6
	REL7_2_4:1.4
	REL7_3_STABLE:1.6.0.2
	REL7_2_3:1.4
	REL7_2_STABLE:1.4.0.6
	REL7_2:1.4
	REL7_2_RC2:1.4
	REL7_2_RC1:1.4
	REL7_2_BETA5:1.4
	REL7_2_BETA4:1.4
	REL7_2_BETA3:1.4
	REL7_2_BETA2:1.4
	REL7_2_BETA1:1.4
	REL7_1_2:1.4
	REL7_1_STABLE:1.4.0.4
	REL7_1_BETA:1.4
	REL7_1_BETA3:1.4
	REL7_1_BETA2:1.4
	REL7_1:1.4
	REL7_0_PATCHES:1.4.0.2
	REL7_0:1.4
	REL6_5_PATCHES:1.2.0.2
	REL6_5:1.2
	REL6_4:1.1.0.2
	release-6-3:1.1;
locks; strict;
comment	@# @;


1.12
date	2009.01.14.21.59.19;	author momjian;	state Exp;
branches;
next	1.11;

1.11
date	2006.03.11.04.38.41;	author momjian;	state Exp;
branches;
next	1.10;

1.10
date	2004.06.25.22.00.40;	author tgl;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.02.17.29.32;	author momjian;	state Exp;
branches;
next	1.8;

1.8
date	2004.02.01.23.11.33;	author momjian;	state Exp;
branches;
next	1.7;

1.7
date	2003.01.18.06.06.51;	author momjian;	state Exp;
branches;
next	1.6;

1.6
date	2002.07.15.14.45.51;	author momjian;	state Exp;
branches;
next	1.5;

1.5
date	2002.07.02.17.45.52;	author momjian;	state Exp;
branches;
next	1.4;

1.4
date	2000.02.10.18.34.26;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	99.12.13.04.54.01;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	99.02.02.03.45.56;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	97.09.08.04.19.48;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Make 'find' syntax consistent;  add .git exclusion to make_ctags.
@
text
@#!/bin/sh

# $PostgreSQL: pgsql/src/tools/make_ctags,v 1.11 2006/03/11 04:38:41 momjian Exp $

trap "rm -f /tmp/$$" 0 1 2 3 15
rm -f ./tags

cv=`ctags --version 2>&1 | grep Exuberant`

if [ -z "$cv" ]
then	FLAGS="-dt"
else	FLAGS="--c-types=+dfmstuv"
fi

find `pwd`/ \( -name _deadcode -prune \) -o \
		-type f -name '*.[chyl]' -print |
	xargs ctags "$FLAGS" -a -f tags

if [ -z "$cv" ]
then
	LC_ALL=C
	export LC_ALL
	sort tags >/tmp/$$ && mv /tmp/$$ tags
fi

find . \( -name 'CVS' -prune \) -o \( -name .git -prune \) -o -type d -print |
while read DIR
do	[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/tags "$DIR"/tags
done
@


1.11
log
@Add CVS tag lines to files that were lacking them.
@
text
@d3 1
a3 1
# $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.314 2006/03/07 02:54:23 momjian Exp $
d15 3
a17 2
find `pwd`/ \( -name _deadcode -a -prune \) -o \
	-type f -name '*.[chyl]' -print|xargs ctags "$FLAGS" -a -f tags
d26 3
a28 3
find . -name  'CVS' -prune -o -type d -print  |while read DIR
do
	[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/tags $DIR/tags
@


1.10
log
@Fix to work better with Exuberant's version of ctags.

Gavin Sherry
@
text
@d2 3
@


1.9
log
@Set only LC_ALL for sort in tags creation.
@
text
@d5 5
a9 3
if ctags --version 2>&1 | grep Exuberant >/dev/null
then	FLAGS="--c-types=+dfmstuv"
else	FLAGS="-dt"
d15 6
a20 3
LC_ALL=C
export LC_ALL
sort tags >/tmp/$$ && mv /tmp/$$ tags
@


1.8
log
@Set locale to C before doing sort in make_ctags.
@
text
@a12 1
LANG=C
d14 1
@


1.7
log
@Improve symlink handling for C tags file.
@
text
@d13 2
@


1.6
log
@Fix make_ctags for exhuberant tags.
@
text
@d17 1
a17 1
	[ "$DIR" != "." ] && ln -f -s `pwd`/tags $DIR/tags
@


1.5
log
@Allow make_ctags to work with exuberant tags.
@
text
@d5 3
a7 3
if [ "`ctags --version 2>&1 | grep Exuberant`" != "Exuberant" ]
then	FLAGS="-dt"
else	FLAGS="--c-types=+dfmstuv"
@


1.4
log
@Prevent tags files in cvs directory.
@
text
@d4 6
d11 1
a11 1
	-type f -name '*.[chyl]' -print|xargs ctags -d -t -a -f tags
@


1.3
log
@Prevent _deadcode from showing in ctags and mkid
@
text
@d9 1
a9 1
find . -type d -print |while read DIR
@


1.2
log
@Add TEMP tables/indexes.  Add COPY pfree().  Other cleanups.
@
text
@d4 3
a6 1
find `pwd`/ -type f -name '*.[chyl]' -print|xargs ctags -d -t -a -f tags
@


1.1
log
@Developer reorganization.
@
text
@d4 1
a4 1
find `pwd`/ -type f -name '*.[chyl]' -print|xargs ctags -t -a -f tags
@
