1
- $PostgreSQL: pgsql/src/tools/pgindent/README,v 1.30 2009/06/10 01:47:59 momjian Exp $
1
+ $PostgreSQL: pgsql/src/tools/pgindent/README,v 1.31 2009/06/10 01:51:44 momjian Exp $
2
2
3
3
pgindent
4
4
========
@@ -8,31 +8,15 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
8
8
9
9
http://www.pgbuildfarm.org/cgi-bin/typedefs.pl
10
10
11
- ---------------------------------------------------------------------------
12
-
13
- Obsolete typedef list creation instructions:
14
- --------------------------------------------
15
-
16
- To use pgindent:
17
-
18
- 1) Build the source tree with _debug_ symbols and all possible configure options
19
-
20
- 2) Install to /usr/local/pgsql
21
-
22
- 3) Install all contrib modules
23
-
24
- 4) Save a list of typedefs by running:
25
-
26
- src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib > /tmp/pgtypedefs
27
-
28
- 5) Run 'gmake distclean' from the top of the source tree to remove any
11
+ 1) Run 'gmake distclean' from the top of the source tree to remove any
29
12
derived C files.
30
13
31
- 6 ) From the top of the source tree, run:
14
+ 2 ) From the top of the source tree, run:
32
15
33
16
find . -name '*.[ch]' -type f -print |
34
17
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
35
- xargs -n100 pgindent /tmp/pgtypedefs
18
+ xargs -n100 pgindent /tmp/typedefs.pl
19
+
36
20
37
21
---------------------------------------------------------------------------
38
22
@@ -57,3 +41,21 @@ regression tests.
57
41
src/include/snowball/libstemmer/ and src/backend/snowball/libstemmer/
58
42
are excluded because those files are imported from an external project,
59
43
not maintained locally, and are machine-generated anyway.
44
+
45
+ ---------------------------------------------------------------------------
46
+
47
+ Obsolete typedef list creation instructions:
48
+ --------------------------------------------
49
+
50
+ To use pgindent:
51
+
52
+ 1) Build the source tree with _debug_ symbols and all possible configure options
53
+
54
+ 2) Install to /usr/local/pgsql
55
+
56
+ 3) Install all contrib modules
57
+
58
+ 4) Save a list of typedefs by running:
59
+
60
+ src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib > /tmp/pgtypedefs
61
+
0 commit comments